-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathtsconfig.json
30 lines (26 loc) · 1.13 KB
/
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
{
"include": ["src/**/*"],
"exclude" : ["node_modules"],
"compilerOptions": {
// incremental builds - NOTE: Enabling incremental builds speeds up `tsc`
"incremental": true,
// type checking
"strict": true,
"noFallthroughCasesInSwitch": true, // not enabled by default in strict
"noImplicitReturns": true, // not enabled by default in strict
"noImplicitOverride": true, // not enabled by default in strict
"noUnusedLocals": true, // not enabled by default in strict
"noUnusedParameters": true, // not enabled by default in strict
"exactOptionalPropertyTypes": true, // not enabled by default in strict
// JS support
"allowJs": false,
"checkJs": false,
// skip type checking for node_modules
"skipLibCheck": true,
// language / env
"moduleResolution": "nodenext",
"module": "nodenext",
"target": "ES2021", // setting to es2021 enables native support for node v16+, we may want to evaluate this
"lib": ["ES2022"] // enables modern language features, we may want to evalute this
}
}