-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Expand file tree
/
Copy pathtsconfig.json
More file actions
41 lines (36 loc) Β· 1.67 KB
/
tsconfig.json
File metadata and controls
41 lines (36 loc) Β· 1.67 KB
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
{
"compilerOptions": {
// ββ Validation mode (no output files) βββββββββββββββββββββββββββββββββββββ
"noEmit": true,
"allowJs": true,
"checkJs": true,
"skipLibCheck": true,
// ββ Strictness β full strict mode ββββββββββββββββββββ
"strict": true,
// ββ Module resolution ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
"module": "ESNext",
"moduleResolution": "bundler",
"target": "ES2020",
// ββ Type resolution ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
// Pick up the existing consumer-facing types so internal JSDoc can
// reference ApexCharts.ApexOptions, etc.
"typeRoots": ["./types", "./node_modules/@types"],
"lib": ["ES2020", "DOM"],
// ββ Paths ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
"baseUrl": "."
// Files without @ts-check are still parsed for type inference but errors
// are only surfaced when @ts-check is added at the top of a file.
// Add @ts-check file-by-file as JSDoc coverage improves.
},
"include": [
"src/**/*.js",
"src/types/**/*.d.ts",
"types/**/*.d.ts"
],
"exclude": [
"node_modules",
"dist",
"tests",
"docs"
]
}