Skip to content

Commit 46adfaf

Browse files
fix: TS workaround for Vue v3.2.47 (#1962)
* chore(deps): update all non-major dependencies * fix: TS workaround for Vue v3.2.47 A change of types in core (vuejs/core#2818) introduced a TS compilation error when bumping to Vue v3.2.47. I couldn't figure out a proper way to fix, but using `EmitOptions` instead of `E` (which extends `EmitOptions`...) fixes the issue. It may be good enough to allow to update to the latest Vue releases, and I think it should have minimal impact on our users (or none at all). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 5f574e2 commit 46adfaf

File tree

3 files changed

+196
-190
lines changed

3 files changed

+196
-190
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737
"@vitejs/plugin-vue": "4.0.0",
3838
"@vitejs/plugin-vue-jsx": "3.0.0",
3939
"@vitest/coverage-c8": "0.28.3",
40-
"@vue/compat": "3.2.45",
41-
"@vue/compiler-dom": "3.2.45",
42-
"@vue/compiler-sfc": "3.2.45",
40+
"@vue/compat": "3.2.47",
41+
"@vue/compiler-dom": "3.2.47",
42+
"@vue/compiler-sfc": "3.2.47",
4343
"c8": "7.12.0",
4444
"eslint": "8.33.0",
4545
"eslint-config-prettier": "8.6.0",
@@ -54,10 +54,10 @@
5454
"tslib": "2.5.0",
5555
"typescript": "4.9.5",
5656
"unplugin-vue-components": "0.23.0",
57-
"vite": "4.0.4",
57+
"vite": "4.1.1",
5858
"vitepress": "0.22.4",
5959
"vitest": "0.28.3",
60-
"vue": "3.2.45",
60+
"vue": "3.2.47",
6161
"vue-class-component": "8.0.0-rc.1",
6262
"vue-router": "4.1.6",
6363
"vue-tsc": "1.0.24",

0 commit comments

Comments
 (0)