-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
29 lines (26 loc) · 904 Bytes
/
Copy pathtsconfig.json
File metadata and controls
29 lines (26 loc) · 904 Bytes
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
{
"compilerOptions": {
"target": "ES2023",
"lib": ["ES2023"],
"module": "NodeNext",
"moduleResolution": "NodeNext",
"types": ["node"],
"skipLibCheck": true,
"strict": true,
"noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true,
"noImplicitOverride": true,
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true,
"allowImportingTsExtensions": true,
"noEmit": true,
"resolveJsonModule": true,
"isolatedModules": true,
"verbatimModuleSyntax": true,
// Node runs these .ts files by erasing types, which cannot handle parameter properties,
// enums, namespaces or decorators. This flag makes tsc reject that syntax at typecheck time,
// so `npm run compass` can never break the way it would if someone reintroduced one.
"erasableSyntaxOnly": true
},
"include": ["src/**/*.ts"]
}