-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig-base.json
37 lines (32 loc) · 1.08 KB
/
tsconfig-base.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
{
"compilerOptions": {
"module": "esnext",
"target": "ES2021",
"esModuleInterop": true,
//"lib": ["ES2019", "dom", "dom.iterable"],
//"rootDir": "src",
//"outDir": "dist/lib", // path to compiled TS and definition files
//"declarationDir": "dist/types",
//
"declaration": true, // required to include definition files in output
"sourceMap": true,
"jsx": "react",
"moduleResolution": "Node",
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"alwaysStrict": true,
"strictBindCallApply": true,
//"strictFunctionTypes": true,
//"strictPropertyInitialization": true,
"suppressImplicitAnyIndexErrors": true,
"noUnusedLocals": true,
"preserveConstEnums": true,
"skipLibCheck": true,
//"typeRoots": [ "./types", "./node_modules/@types"]
"composite": true,
"incremental": true
}
}