Skip to content

Commit

Permalink
fix: TS workaround for Vue v3.2.47 (#1962)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
cexbrayat and renovate[bot] committed Feb 2, 2023
1 parent 5f574e2 commit 46adfaf
Show file tree
Hide file tree
Showing 3 changed files with 196 additions and 190 deletions.
10 changes: 5 additions & 5 deletions package.json
Expand Up @@ -37,9 +37,9 @@
"@vitejs/plugin-vue": "4.0.0",
"@vitejs/plugin-vue-jsx": "3.0.0",
"@vitest/coverage-c8": "0.28.3",
"@vue/compat": "3.2.45",
"@vue/compiler-dom": "3.2.45",
"@vue/compiler-sfc": "3.2.45",
"@vue/compat": "3.2.47",
"@vue/compiler-dom": "3.2.47",
"@vue/compiler-sfc": "3.2.47",
"c8": "7.12.0",
"eslint": "8.33.0",
"eslint-config-prettier": "8.6.0",
Expand All @@ -54,10 +54,10 @@
"tslib": "2.5.0",
"typescript": "4.9.5",
"unplugin-vue-components": "0.23.0",
"vite": "4.0.4",
"vite": "4.1.1",
"vitepress": "0.22.4",
"vitest": "0.28.3",
"vue": "3.2.45",
"vue": "3.2.47",
"vue-class-component": "8.0.0-rc.1",
"vue-router": "4.1.6",
"vue-tsc": "1.0.24",
Expand Down

0 comments on commit 46adfaf

Please sign in to comment.