-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
58 lines (56 loc) · 1.71 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// {
// "extends": ["@sapphire/ts-config", "@sapphire/ts-config/extra-strict", "@sapphire/ts-config/decorators"],
// "compilerOptions": {
// "rootDir": "src",
// "outDir": "dist",
// "tsBuildInfoFile": "dist/.tsbuildinfo"
// },
// "include": ["src"]
// }
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"alwaysStrict": true,
"declaration": true,
"declarationMap": true,
"esModuleInterop": true,
"skipLibCheck": true,
"importHelpers": false,
"incremental": true,
"lib": ["esnext", "dom"],
"module": "node16",
"moduleResolution": "node16",
"newLine": "lf",
"noEmitHelpers": false,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"preserveConstEnums": true,
"removeComments": false,
"resolveJsonModule": true,
"sourceMap": true,
"strict": true,
"target": "es2020",
"useDefineForClassFields": true,
"allowUnreachableCode": false,
"allowUnusedLabels": false,
// maybe false
"exactOptionalPropertyTypes": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"checkJs": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"rootDir": "./src",
"outDir": "./dist",
"tsBuildInfoFile": "./dist/.tsbuildinfo",
"paths": {}
},
"include": ["src"],
"exclude": ["dist"],
"compileOnSave": true
}