-
Notifications
You must be signed in to change notification settings - Fork 1
/
tsconfig.json
30 lines (30 loc) · 872 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
26
27
28
29
30
{
"compilerOptions": {
"outDir": "./dist/", // path to output directory
"sourceMap": true, // allow sourcemap support
"strictNullChecks": true, // enable strict null checks as a best practice
"module": "es2020", // specify module code generation
"moduleResolution": "node",
"resolveJsonModule": true,
"jsx": "react-jsx", // use typescript to transpile jsx to js
"target": "es6", // specify ECMAScript target version
"allowJs": true, // allow a partial TypeScript and JavaScript codebase,
"allowSyntheticDefaultImports": true,
"typeRoots": [
"node_modules/@types",
"app/javascript/@types",
],
"lib": [
"DOM",
"DOM.Iterable",
"ES2020"
],
"noImplicitAny": true,
"skipLibCheck": true
},
"include": [
"./app/javascript/",
"./test/javascript/",
".eslintrc.js"
]
}