-
Notifications
You must be signed in to change notification settings - Fork 18
/
tsconfig.json
33 lines (33 loc) · 1.12 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
31
32
33
{
"compilerOptions": {
"jsx": "react-jsx",
"module": "CommonJS",
"target": "es2020",
"lib": ["es2021", "dom"],
"outDir": "lib",
"rootDir": "src",
"sourceMap": true,
"strict": true,
"noImplicitOverride": true,
"noUncheckedIndexedAccess": true,
"declaration": true,
"declarationMap": true,
"resolveJsonModule": true,
"esModuleInterop": true,
// ---exactOptionalPropertyTypes specifies that optional property types should be interpreted exactly as
// written, meaning that `| undefined` is not added to the type.
// This makes it possible to ensure that optional properties are never `undefined` when they're present
// on an object, and that `undefined` values read from optional properties unequivocally indicate that
// the properties are not present.
// See https://github.com/microsoft/TypeScript/pull/43947
"exactOptionalPropertyTypes": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"useDefineForClassFields": true,
},
"include": [
"src",
"./.eslintrc.cjs",
],
"exclude": ["node_modules", ".vscode-test"]
}