-
Notifications
You must be signed in to change notification settings - Fork 11.9k
/
tsconfig.json
48 lines (48 loc) · 1.17 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
{
"compilerOptions": {
/* Type Checking */
"alwaysStrict": true,
"strictBindCallApply": true,
"strictFunctionTypes": true,
/* todo: uncomment after transition to TS */
// "noFallthroughCasesInSwitch": true,
// "noImplicitOverride": true,
// "noImplicitReturns": true,
// "noUnusedLocals": true,
// "noUnusedParameters": true,
/* Modules */
"baseUrl": ".",
"module": "ESNext",
"moduleResolution": "NodeNext",
"resolveJsonModule": true,
"rootDir": "src",
"types": ["offscreencanvas"],
/* Emit */
"declaration": true,
"importsNotUsedAsValues": "error",
"inlineSourceMap": true,
"outDir": "dist",
/* JavaScript Support */
"allowJs": true,
"checkJs": true,
/* Interop Constraints */
"allowSyntheticDefaultImports": true,
/* Language and Environment */
"target": "ES6",
"lib": ["es2018", "DOM"]
},
"typedocOptions": {
"name": "Chart.js",
"entryPoints": ["src/types/index.d.ts"],
"readme": "none",
"excludeExternals": true,
"includeVersion": true,
"out": "./dist/docs/typedoc"
},
"include": [
"./src/**/*"
],
"exclude": [
"./dist/**"
]
}