-
Notifications
You must be signed in to change notification settings - Fork 108
/
tsconfig.json
38 lines (36 loc) · 981 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"include": [
"./src/**/*.d.mts",
"./src/**/*.d.ts",
"./src/**/*.ts",
"./src/**/*.mjs",
"./test-d/**/*.ts",
"vite.config.js"
],
"compilerOptions": {
"rootDir": "./",
"lib": ["ES2018", "DOM"],
"outDir": "types",
"module": "ESNext",
"target": "ESNext",
"moduleResolution": "node",
"allowJs": true,
"esModuleInterop": true,
"declaration": true,
"sourceMap": true,
"declarationMap": true,
"isolatedModules": true,
// Don't emit any files via the root tsconfig.json
// (this is a project-wide config and includes the test-d folder which
// we don't want to accidentally emit files for)
"noEmit": true,
// Type Checking / Syntax Rules
"strict": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
// Add when upgrading past TypeScript 5.0:
// "verbatimModuleSyntax": true
}
}