-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
24 lines (24 loc) · 926 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
{
"compilerOptions": {
"module": "CommonJS", // sets module system for the program
"jsx": "react-jsx", // supports jsx in tsx files
"target": "ES6", // ECMAScript version code will be compiled down to
"sourceMap": true, // generates sourcemap files to see original ts source code
"lib": [
"dom", //includes type definitions for libraries within array
"ES6"
],
"moduleResolution": "node", // how modules dependencies get resolved
"noImplicitAny": false,
"noImplicitThis": true,
"strictNullChecks": true,
"allowSyntheticDefaultImports": true, // allows for import syntax like "import ReactDOM from 'react-dom'"
"esModuleInterop": true
},
"include": [
"./src/**/*" // specifies files for type checking (checks all files in src folder)
],
"exclude": [
"node_modules"
]
}