generated from Nerdware-LLC/template-npm-pkg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
40 lines (32 loc) · 919 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
39
40
{
// This base tsconfig is used for development of the project's src files.
"include": ["src/**/*", "./*.ts"],
"compilerOptions": {
// Language and Environment:
"target": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
// Modules:
"module": "NodeNext",
"moduleResolution": "nodenext",
"resolveJsonModule": true,
"types": ["node", "vitest/globals"],
// Emit:
"noEmitOnError": true,
// Completeness:
"skipLibCheck": false,
// Output Formatting:
"declaration": true,
"noErrorTruncation": true,
// Interop Constraints:
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
// Type Checking:
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"strict": true
}
}