-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathtsconfig.json
22 lines (22 loc) · 1.13 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
{
"compilerOptions": {
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"outDir": "./dist/", // path to output directory
"sourceMap": true, // allow sourcemap support
"strict": true,
"strictNullChecks": true, // enable strict null checks as a best practice
"module": "CommonJS", // specify module code generation
"jsx": "react", // use typescript to transpile jsx to js
"target": "es5", // specify ECMAScript target version
"allowJs": true, // allow a partial TypeScript and JavaScript codebase
"skipLibCheck": true, /* Skip type checking of declaration files. */
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
"declaration": true,
"types": ["vitest/globals"],
},
"include": [
"./src/",
".src/test/setup.ts"
],
"files": ["./src/global.d.ts"]
}