-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
tsconfig.json
28 lines (25 loc) · 891 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
{
"compilerOptions": {
"target": "ES2020",
"module": "NodeNext",
"jsx": "react",
"esModuleInterop": true,
"declaration": true,
"moduleResolution": "nodenext",
// strict options ensuring more stable code
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"allowUnreachableCode": false,
"noUncheckedIndexedAccess": true,
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true,
"types": ["node"],
// - ℹ️ https://www.typescriptlang.org/tsconfig#isolatedModules
// - 😃 Deno requires "isolatedModules" to be set to `true`
// - 😃 the stricter version - I always prefer the stricter version
// - 😃 probably the future
"isolatedModules": true
},
"include": ["index.ts"]
}