-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
59 lines (57 loc) · 1.76 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
58
59
{
"compilerOptions": {
"target": "es5",
"module": "es2015",
"lib": ["es2017", "es7", "es6", "es5", "dom"],
"allowJs": false,
"declaration": true,
"sourceMap": true,
"outDir": "./dist",
"rootDir": "src",
"noEmit": true,
"strict": true,
"strictNullChecks": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
},
"exclude": [
"node_modules",
"dist",
]
}
// {
// "compilerOptions": {
// "target": "es5",
// "module": "ES2015", // <-- Change this line
// "strict": true,
// "esModuleInterop": true,
// "skipLibCheck": true,
// "forceConsistentCasingInFileNames": true,
// "moduleResolution": "node",
// "isolatedModules": true,
// "noEmit": true,
// "declaration": true,
// "declarationDir": "./dist/types",
// },
// "include": ["src/**/*.ts"],
// "exclude": ["node_modules", "dist", "build"],
// }
// {
// "compilerOptions": {
// "target": "es2016",
// "module": "commonjs",
// "esModuleInterop": true,
// "forceConsistentCasingInFileNames": true,
// "strict": true,
// "skipLibCheck": true,
// "outDir": "./dist",
// "declaration": true
// },
// "include": ["src/**/*.ts"],
// "exclude": ["node_modules"]
// }