-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Expand file tree
/
Copy pathtsconfig.json
More file actions
31 lines (30 loc) · 1.09 KB
/
tsconfig.json
File metadata and controls
31 lines (30 loc) · 1.09 KB
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
{
"compilerOptions": {
"outDir": "lib",
"target": "ES2018",
"lib": ["ES2019", "dom"],
"module": "nodenext",
"noUncheckedSideEffectImports": true,
"rewriteRelativeImportExtensions": true,
"isolatedModules": true,
"erasableSyntaxOnly": true,
"verbatimModuleSyntax": true,
// "sourceMap": true,
"noEmitOnError": true,
"declaration": true,
"removeComments": false,
"strict": true,
"noImplicitAny": false,
"noImplicitThis": false,
"useUnknownInCatchVariables": false,
"skipLibCheck": true,
// probably we would never enable this one
// because it's too strict, konva generates many functions on the runtime
"strictPropertyInitialization": false,
// our initializer `field: GetSet<string, this>` will cause `field` to
// be set to undefined if target>=ES2022, this also affects tools like `tsx` running locally
// https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#the-usedefineforclassfields-flag-and-the-declare-property-modifier
"useDefineForClassFields": false
},
"include": ["src"]
}