-
Notifications
You must be signed in to change notification settings - Fork 17
/
tsconfig.json
38 lines (38 loc) · 1.1 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
28
29
30
31
32
33
34
35
36
37
38
{
"compilerOptions": {
"outDir": "dist", // path to output directory
"sourceMap": true, // allow sourcemap support
"strictNullChecks": true, // enable strict null checks as a best practice
"module": "esnext", // specify module code generation
"jsx": "react-jsx", // use typescript to transpile jsx to js
"target": "ES2018", // specify ECMAScript target version
"moduleResolution": "node",
"lib": ["ES2020", "dom"],
"allowSyntheticDefaultImports": true,
// "noUncheckedIndexedAccess": true, // TODO one day
"noPropertyAccessFromIndexSignature": true,
"baseUrl": "src",
"paths": {
"fm3/*": ["./*"]
},
"noUnusedLocals": true,
"noUnusedParameters": true,
"strict": true,
"downlevelIteration": true,
"resolveJsonModule": true,
"allowJs": true, // because of maplibre-language.js; TODO rewrite to TS
"plugins": [
{
"transform": "typia/lib/transform"
}
],
"types": [
"gapi",
"gapi.auth2",
"facebook-js-sdk",
"facebook-pixel",
"google.picker"
]
},
"include": ["src", "typings"]
}