Skip to content

Commit

Permalink
fix: TS workaround for Vue v3.2.47
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
cexbrayat committed Feb 2, 2023
1 parent dd8a56f commit bf0a6da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mount.ts
Expand Up @@ -194,7 +194,7 @@ export function mount<
M,
Mixin,
Extends,
E,
EmitsOptions,
EE,
PP,
Props,
Expand Down

0 comments on commit bf0a6da

Please sign in to comment.