-
Notifications
You must be signed in to change notification settings - Fork 50
/
Copy pathtsconfig.json
44 lines (36 loc) · 1.84 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
{
"compilerOptions": {
/* Visit https://aka.ms/tsconfig to read more about this file */
/* Language and Environment */
"target": "ESNext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', or 'ESNEXT'. */,
"lib": ["ESNext"] /* Specify library files to be included in the compilation. */,
/* Modules */
"module": "NodeNext" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
/* Emit */
"outDir": "./dist/esm" /* Specify an output folder for all emitted files. */,
"types": [
"vitest/importMeta"
],
/* Interop Constraints */
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */,
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
/* Type Checking */
"strict": true /* Enable all strict type-checking options. */,
"alwaysStrict": true,
"noImplicitAny": true /* Enable error reporting for expressions and declarations with an implied 'any' type. */,
"noUnusedLocals": true /* Enable error reporting when local variables aren't read. */,
"noUnusedParameters": false /* Raise an error when a function parameter isn't read. */,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": false,
"inlineSourceMap": true,
"inlineSources": true,
"experimentalDecorators": true,
"strictPropertyInitialization": false,
/* Completeness */
"skipLibCheck": true, /* Skip type checking of declaration files. */
/* Generate .d.ts declaration files */
"declaration": true
},
"include": ["src/**/*"],
"exclude": ["./node_modules"]
}