Skip to content

Commit 1abd5a1

Browse files
moneybagsclearychristopherclearyantfu
authored
fix(2.7): ts compilation error (#172)
Co-authored-by: Christopher Cleary <[email protected]> Co-authored-by: Anthony Fu <[email protected]>
1 parent fdc2a1b commit 1abd5a1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/v2.7/index.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Vue from 'vue'
2-
import type { PluginFunction, PluginObject } from 'vue'
2+
import type { PluginFunction, PluginObject, VueConstructor, VNode, VNodeDirective } from 'vue'
3+
34
declare const isVue2: boolean
45
declare const isVue3: boolean
56
declare const Vue2: Vue | undefined
@@ -18,8 +19,6 @@ export type { VNode } from 'vue'
1819
export * from 'vue'
1920
export { V as Vue, Vue2, isVue2, isVue3, version, install }
2021

21-
import Vue, { VueConstructor, VNode, VNodeDirective } from 'vue'
22-
2322
// #region createApp polyfill
2423
export type DirectiveModifiers = Record<string, boolean>
2524
export interface DirectiveBinding<V> extends Readonly<VNodeDirective> {

0 commit comments

Comments
 (0)