-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathtsconfig.build.json
More file actions
41 lines (41 loc) · 1.05 KB
/
tsconfig.build.json
File metadata and controls
41 lines (41 loc) · 1.05 KB
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
39
40
41
{
"compilerOptions": {
"target": "ES5",
"module": "ES2022",
"lib": [
"ES6",
"ES7",
"ESNext"
],
// Enforces `.js` relative imports, which is needed because tsc doesn't update filenames
"moduleResolution": "nodeNext",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"jsx": "preserve",
"strictFunctionTypes": true,
"sourceMap": true,
"declaration": true,
// Enables following definitions to source files instead of d.ts files
"declarationMap": true,
// used in monorepo ts projects to set precedence in compiling tsc things https://dev.to/t7yang/typescript-yarn-workspace-monorepo-1pao
"composite": true,
"strictNullChecks": true,
// Todo: enable this
// "noImplicitAny": true
"downlevelIteration": true,
// Prevent typecheck to fail if some library is doing something wrong
"skipLibCheck": true
},
"exclude": [
"node_modules",
"**/node_modules/*"
],
"references": [
{
"path": "lib"
},
{
"path": "react"
}
]
}