-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
49 lines (49 loc) · 1.13 KB
/
tsconfig.json
File metadata and controls
49 lines (49 loc) · 1.13 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
42
43
44
45
46
47
48
49
{
"compilerOptions": {
// https://www.totaltypescript.com/tsconfig-cheat-sheet
/* transpiling */
"lib": [
"ES2023",
],
"moduleResolution": "node10",
"module": "ESNext",
// where mjs is omitted. point package.json `exports` (import) / `module` field to these
"outDir": "dist/mjs",
"declaration": true,
"sourceMap": true,
/* base options */
"esModuleInterop": true,
"skipLibCheck": true,
"target": "ES2022",
"allowJs": true,
"resolveJsonModule": true,
/* strictness */
"strict": true,
"alwaysStrict": true,
"noImplicitAny": true,
"noImplicitOverride": true,
"noUncheckedIndexedAccess": true,
"strictNullChecks": true,
"noImplicitThis": true,
/* other */
// where types are omitted. point package.json `exports` (import and require) / `types` field to these
"declarationDir": "./dist/types",
"allowSyntheticDefaultImports": true,
"removeComments": true,
"preserveConstEnums": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"types": [
"vitest/globals"
]
},
"include": [
"**/*.spec.ts",
],
"files": [
"index.ts"
],
"typeAcquisition": {
"enable": true
}
}