-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
tsconfig.json
47 lines (42 loc) · 1.14 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
{
"compilerOptions": {
// Transpilation settings.
"module": "es2020",
"target": "es6",
// Module settings.
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"isolatedModules": false,
"moduleResolution": "node",
"resolveJsonModule": false,
// Strictness and quality settings.
"alwaysStrict": true,
"exactOptionalPropertyTypes": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true,
// Type-checking settings.
"lib": ["es2020", "dom"],
"skipDefaultLibCheck": true,
"skipLibCheck": true,
"types": [
"webmidi",
],
// Output settings.
"sourceMap": true,
// Type declaration settings.
"declaration": true,
"declarationDir": "./types",
"declarationMap": true,
"rootDir": "./src",
"outDir": "./dist"
},
"include": ["./src/**/*.ts"],
"exclude": ["./src/**/*.spec.ts"],
}