forked from graffle-js/graffle
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
30 lines (27 loc) · 781 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
{
"extends": "@tsconfig/node16/tsconfig.json",
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2020"],
// Use ESM
"module": "NodeNext",
"moduleResolution": "nodenext",
// Make the compiler stricter, catch more errors
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
// DX
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"incremental": true,
"tsBuildInfoFile": "node_modules/.cache/.tsbuildinfo",
"noErrorTruncation": true,
// Other
"skipLibCheck": true,
"esModuleInterop": true
},
"include": ["src", "tests", "examples"],
"exclude": ["build"]
}