-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtsconfig.json
41 lines (37 loc) · 1.02 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
{
/* Visit https://aka.ms/tsconfig.json to read more about this file */
"compilerOptions": {
/* Basic Options */
"target": "ES2015",
"module": "CommonJS",
"declaration": true,
"declarationMap": true, // 给 api-extractor 用的
/* Strict Type-Checking Options */
"strict": true,
"strictNullChecks": true,
/* Additional Checks */
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedIndexedAccess": true,
"noPropertyAccessFromIndexSignature": true,
/* Module Resolution Options */
"moduleResolution": "node",
"esModuleInterop": true,
/* Advanced Options */
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
},
"typedocOptions": {
"readme": "none",
"entryPoints": [
"src/index.ts"
],
"includeVersion": true,
"out": "dist-doc",
"excludePrivate": true,
"excludeExternals": true
},
"include": ["src/**/*"],
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
}