forked from carbon-design-system/carbon-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
38 lines (38 loc) · 1.2 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
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"declaration": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"moduleResolution": "Bundler",
"noUnusedLocals": true,
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true,
"skipLibCheck": true,
"sourceMap": true,
"allowJs": false,
"outDir": "dist",
"baseUrl": ".",
"declarationDir": "dist",
"paths": {
"@/*": ["src/*"]
},
// "types": ["node"],
"strict": false,
// TODO: Add explicit initializers or declare modifier to class properties to update this project's TypeScript from 3.7 to 5.x.
// See https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#the-usedefineforclassfields-flag-and-the-declare-property-modifier.
"useDefineForClassFields": false // Until issue above is addressed, keep false.
},
"include": [
"src/**/*.ts",
"src/**/*.d.ts",
"vite.config.ts", // ok to include as vite generates output - not tsc
"vite.umd.config.ts", // ditto
"vite.test.config.ts" // ditto
],
"exclude": ["node_modules", "dist"]
}