-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtsconfig.json
27 lines (27 loc) · 1.36 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
{
// Configuration file for the TypeScript compiler.
"compilerOptions": {
"target": "es5", // The target version of the ECMAScript specification that the generated JavaScript code should conform to.
"lib": [ // Declaration files for the JavaScript standard library as well as DOM APIs.
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true, // Allow JavaScript files to be imported.
"skipLibCheck": true, // Skip type-checking of declaration files.
"esModuleInterop": true,
"allowSyntheticDefaultImports": true, // Allow default imports from modules with no default export.
"strict": true, // Enable all strict type-checking options.
"forceConsistentCasingInFileNames": true, // Disallow inconsistently-cased references to the same file.
"noFallthroughCasesInSwitch": true, // Report errors for fallthrough cases in switch statements.
"module": "esnext", // Specify the module code generation.
"moduleResolution": "node", // Set the module resolution strategy.
"resolveJsonModule": true, // Allow import of JSON files.
"isolatedModules": true, // Ensure that each file can be transpiled independently.
"noEmit": true, // Do not emit output.
"jsx": "react-jsx" // Enable generation of React-friendly JSX source code.
},
"include": [
"src" // Include only the src folder for the compilation process.
]
}