Skip to content

Commit 163e08f

Browse files
committed
Update tsconfig.json
1 parent db3d39d commit 163e08f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

lib/parse.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import fauxEsmNthCheck from 'nth-check'
1212
import {zwitch} from 'zwitch'
1313

1414
/** @type {import('nth-check').default} */
15-
// @ts-expect-error
1615
const nthCheck = fauxEsmNthCheck.default
1716

1817
const nth = new Set([

tsconfig.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
{
2-
"include": ["*.js", "lib/**/*.js", "test/**/*.js"],
2+
"include": ["**/**.js"],
3+
"exclude": ["coverage/", "node_modules/"],
34
"compilerOptions": {
4-
"target": "ES2020",
5-
"lib": ["ES2020"],
6-
"module": "ES2020",
7-
"moduleResolution": "node",
8-
"allowJs": true,
95
"checkJs": true,
106
"declaration": true,
117
"emitDeclarationOnly": true,
12-
"allowSyntheticDefaultImports": true,
8+
"exactOptionalPropertyTypes": true,
9+
"forceConsistentCasingInFileNames": true,
10+
"lib": ["es2020"],
11+
"module": "node16",
12+
"newLine": "lf",
1313
"skipLibCheck": true,
14-
"strict": true
14+
"strict": true,
15+
"target": "es2020"
1516
}
1617
}

0 commit comments

Comments
 (0)