Skip to content

Commit aa34fd5

Browse files
chore(frontend): update tsconfig target (kubeflow#1184)
Signed-off-by: Christian Vogt <[email protected]>
1 parent dc6f3e2 commit aa34fd5

File tree

3 files changed

+36
-4
lines changed

3 files changed

+36
-4
lines changed

clients/ui/frontend/package-lock.json

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/ui/frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"@testing-library/jest-dom": "^6.6.2",
4949
"@testing-library/react": "^16.2.0",
5050
"@testing-library/user-event": "14.6.1",
51+
"@types/chai-subset": "^1.3.5",
5152
"@types/classnames": "^2.3.1",
5253
"@types/dompurify": "^3.2.0",
5354
"@types/jest": "^29.5.13",

clients/ui/frontend/tsconfig.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"rootDir": ".",
44
"outDir": "dist",
55
"module": "esnext",
6-
"target": "es5",
6+
"target": "es2021",
77
"lib": [
8-
"es6",
8+
"es2021",
99
"dom",
1010
"ES2023.Array"
1111
],
1212
"sourceMap": true,
1313
"jsx": "react",
14-
"moduleResolution": "node",
14+
"moduleResolution": "bundler",
1515
"downlevelIteration": true,
1616
"forceConsistentCasingInFileNames": true,
1717
"noImplicitReturns": true,
@@ -29,7 +29,8 @@
2929
},
3030
"importHelpers": true,
3131
"skipLibCheck": true,
32-
"noErrorTruncation": true
32+
"noErrorTruncation": true,
33+
"noEmit": true
3334
},
3435
"include": [
3536
"**/*.ts",

0 commit comments

Comments
 (0)