Skip to content

Commit 1459e1d

Browse files
committed
Update tsconfig
1 parent d45c114 commit 1459e1d

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

tsconfig.build.json

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
22
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "dist"
5+
},
36
"exclude": ["**/*.spec.ts", "test/**/*", "bin/**/*"]
47
}

tsconfig.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
// https://nodejs.org/api/packages.html#imports
77
"#entity/*": ["./src/entity/*"],
88
},
9-
"target": "ES2021",
10-
"outDir": "dist",
9+
"target": "es2022",
1110
"module": "commonjs",
1211
"moduleResolution": "node",
1312
"incremental": true,
@@ -16,12 +15,11 @@
1615
"strict": true,
1716
"allowUnreachableCode": false,
1817
"allowUnusedLabels": false,
19-
// "exactOptionalPropertyTypes": true,
18+
"noEmitOnError": true,
2019
"noFallthroughCasesInSwitch": true,
2120
"noImplicitOverride": true,
2221
"noImplicitReturns": true,
2322
"noPropertyAccessFromIndexSignature": true,
24-
// "noUncheckedIndexedAccess": true,
2523
"noUnusedLocals": true,
2624
"noUnusedParameters": true,
2725
"removeComments": true,

0 commit comments

Comments
 (0)