-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
29 lines (29 loc) · 997 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
{
"compilerOptions": {
"module": "esNext",
"target": "es6",
"moduleResolution": "node",
"outDir": "dist/",
"jsx": "react",
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"allowJs": true,
"declaration": true,
"strict": true,
// Although this can result in subtle bugs, they are required for us to
// ignore TS errors on js files inside terria. We'll get rid of them when
// we have a proper terria bundle with type declarations.
// "noImplicitAny": false,
// "strictNullChecks": false,
// Should these thirdparty types be included in terriajs tsconfig "types" settings,
// so that we can avoid specifying it here?
// Refer: https://www.typescriptlang.org/tsconfig#types
"typeRoots": [
"node_modules/terriajs/lib/ThirdParty",
// need this if we are in a yarn workspace
"../../node_modules/terriajs/lib/ThirdParty"
]
},
"include": ["src"]
}