-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
45 lines (39 loc) · 1.04 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
{
"include": [ "src/**/*", "test/**/*" ],
"compilerOptions": {
"outDir": "dist",
"baseUrl": "dist",
"lib": [ "esnext", "dom" ],
// JSX Settings for Preact
"jsx": "react",
"jsxFactory": "h",
// Compilation Configuration
"target": "esnext",
"inlineSources": true,
"sourceMap": true,
"declaration": true,
"allowSyntheticDefaultImports": true,
// Environment Configuration
"experimentalDecorators": true,
"moduleResolution": "node",
"skipLibCheck": true,
// Enhance Strictness
"noImplicitAny": true,
"noUnusedParameters": true,
"allowUnreachableCode": false,
"strictNullChecks": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"forceConsistentCasingInFileNames": true,
"noUnusedLocals": true,
"strictFunctionTypes": true,
"alwaysStrict": true,
"strictPropertyInitialization": true,
// output options
"preserveConstEnums": false,
"newLine": "LF",
"traceResolution": false,
"module": "esnext",
},
"references": []
}