Skip to content

Commit 6a32f48

Browse files
committed
Chore: change global.d.ts into own typings for ts-node to work properly
1 parent 4d825cc commit 6a32f48

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
],
5151
"homepage": "https://github.com/JPeer264/node-semantic-git-commit-cli#readme",
5252
"devDependencies": {
53-
"@types/chalk": "^2.2.0",
5453
"@types/findup-sync": "^2.0.2",
5554
"@types/jest": "^25.2.3",
5655
"@types/lodash.merge": "^4.6.6",

tsconfig.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@
1212
"esModuleInterop": true,
1313
"skipLibCheck": true,
1414
"outDir": "dest",
15-
"rootDir": "lib"
15+
"rootDir": "lib",
16+
"typeRoots": [
17+
"./node_modules/@types",
18+
"./typings"
19+
]
1620
},
1721
"include": [
1822
"lib"
19-
],
20-
"files": [
21-
"./global.d.ts"
2223
]
2324
}

typings/chalk/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
declare module 'chalk';
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
declare module 'git-commit-range';
2-
declare module 'chalk';

0 commit comments

Comments
 (0)