Skip to content

Commit bf0a6da

Browse files
committed
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).
1 parent dd8a56f commit bf0a6da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mount.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export function mount<
194194
M,
195195
Mixin,
196196
Extends,
197-
E,
197+
EmitsOptions,
198198
EE,
199199
PP,
200200
Props,

0 commit comments

Comments
 (0)