-
Notifications
You must be signed in to change notification settings - Fork 2
/
tsconfig.json
25 lines (25 loc) · 964 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
25
{ // TypeScript configuration file: provides options to the TypeScript
// compiler (tsc) and makes VSCode recognize this folder as a TS project,
// enabling the VSCode build tasks "tsc: build" and "tsc: watch".
"compilerOptions": {
"baseUrl": ".",
"rootDir": ".",
"outDir": "./build",
"target": "es6", // Compatible with older browsers
"module": "esnext", // Compatible with both Node.js and browser
"strict": true, // Strict types, eg. prohibits `var x=0; x=null`
"moduleResolution": "node", // Tell tsc to look in node_modules for modules
"sourceMap": true, // Creates *.js.map files
"jsx": "react", // Causes inline XML (JSX code) to be expanded
"noImplicitReturns": false,
"noImplicitAny": false,
"allowSyntheticDefaultImports": true,
},
"include": [
"**/*.ts",
"**/*.tsx"
],
"exclude": [
"node_modules"
]
}