You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tsconfig.build.json
+10-9Lines changed: 10 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,27 @@
1
1
{
2
2
"compilerOptions": {
3
-
// would prefer es2020, but this is needed for jest
4
-
"module": "es2020",
5
-
// required by jest
3
+
"target": "ES5",
4
+
"module": "commonjs",
5
+
"lib": [
6
+
"ES6",
7
+
"ES7",
8
+
"ESNext"
9
+
],
10
+
"moduleResolution": "Node",
6
11
"esModuleInterop": true,
7
-
// required by jest
8
12
"allowSyntheticDefaultImports": true,
9
-
"moduleResolution": "node",
10
-
"target": "es6",
11
13
"jsx": "preserve",
12
14
"strictFunctionTypes": true,
13
15
"sourceMap": true,
14
16
"declaration": true,
15
17
// Enables following definitions to source files instead of d.ts files
16
18
"declarationMap": true,
17
-
// This is a fix for mocha types https://stackoverflow.com/questions/55680391/typescript-error-ts2403-subsequent-variable-declarations-must-have-the-same-typ
18
-
"skipLibCheck": true,
19
-
// used in monorepo ts projects to set precendence in compiling tsc things https://dev.to/t7yang/typescript-yarn-workspace-monorepo-1pao
19
+
// used in monorepo ts projects to set precedence in compiling tsc things https://dev.to/t7yang/typescript-yarn-workspace-monorepo-1pao
0 commit comments