-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
33 lines (33 loc) · 1008 Bytes
/
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
{
"compilerOptions": {
"target": "es2022",
"module": "node16",
"lib": ["ES2022", "dom", "es6"],
"moduleResolution": "node16",
// Types should go into this directory.
// Removing this would place the .d.ts files
// next to the .js files
"outDir": "./dist",
"allowSyntheticDefaultImports": true,
"importHelpers": true,
"alwaysStrict": true,
"sourceMap": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noUnusedLocals": false,
"noUnusedParameters": true,
"noImplicitAny": false,
"noImplicitThis": false,
"strictNullChecks": false,
// Tells TypeScript to read JS files, as
// normally they are ignored as source files
"allowJs": true,
// Generate d.ts files
"declaration": true,
// go to js file when using IDE functions like
// "Go to Definition" in VSCode
"declarationMap": true
},
"include": ["./src/**/*", "__tests__/**/*"]
}