-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
21 lines (21 loc) · 891 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"compilerOptions": {
"target": "ESNext", // specify ECMAScript target version
"module": "ESNext", // specify module code generation
"moduleResolution": "node", // supports both ECMAScript imports and CommonJS require
"jsx": "react-jsx", // use typescript to transpile jsx to js
"outDir": "./dist/", // path to output directory
"sourceMap": true, // allow sourcemap support
"strictNullChecks": true, // enable strict null checks as a best practice
"allowJs": true, // allow a partial TypeScript and JavaScript codebaseff3f
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"checkJs": false,
"noEmit": true,
"allowImportingTsExtensions": true,
"typeRoots": ["./node_modules/@types", "./types"]
// "types": ["vitest"]
},
"include": ["src/**/*.ts", "src/**/*.tsx", "vite-env.d.ts"]
}