mirror of
https://github.com/vuejs/vue.git
synced 2024-11-21 20:28:54 +00:00
fix(types): Make SetupBindings optional on ExtendedVue and CombinedVueInstance (#12727)
fix #12726 fix #12717
This commit is contained in:
parent
1d8b892fcd
commit
00458cd38d
4
types/vue.d.ts
vendored
4
types/vue.d.ts
vendored
@ -100,7 +100,7 @@ export type CombinedVueInstance<
|
||||
Methods,
|
||||
Computed,
|
||||
Props,
|
||||
SetupBindings
|
||||
SetupBindings = {}
|
||||
> = Data &
|
||||
Methods &
|
||||
Computed &
|
||||
@ -114,7 +114,7 @@ export type ExtendedVue<
|
||||
Methods,
|
||||
Computed,
|
||||
Props,
|
||||
SetupBindings
|
||||
SetupBindings = {}
|
||||
> = VueConstructor<
|
||||
CombinedVueInstance<Instance, Data, Methods, Computed, Props, SetupBindings> &
|
||||
Vue
|
||||
|
Loading…
Reference in New Issue
Block a user