We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37fadd5 commit d94c7dfCopy full SHA for d94c7df
package.json
@@ -28,8 +28,7 @@
28
"scripts": {
29
"lint": "eslint \"./lib/**/*.{js,mjs}\" \"./types/**/*.d.ts\"",
30
"test": "tap \"./test/**/*.js\" --disable-coverage",
31
- "check": "tsc --noemit --checkjs",
32
- "declare": "tsc --declaration --emitDeclarationOnly --outDir \"./types\""
+ "declare": "tsc --emitDeclarationOnly"
33
},
34
"keywords": [
35
"is",
tsconfig.json
@@ -1,12 +1,17 @@
1
{
2
"compilerOptions": {
3
- "module": "node16",
+ "module": "nodenext",
4
"allowJs": true,
5
"strict": true,
6
- "noImplicitAny": false
+ "noImplicitAny": true,
7
+ "declaration": true,
8
+ "declarationDir": "./types"
9
- "exclude":[
- "node_modules",
10
- "test"
+ "include": [
11
+ "lib",
12
+ "types"
13
+ ],
14
+ "exclude": [
15
+ "node_modules"
16
]
17
}
0 commit comments