Skip to content

Commit 98ea0a3

Browse files
HerringtonDarkholmeyyx990803
authored andcommitted
fix(types): improve typing for better completion (#6886)
1 parent 604230f commit 98ea0a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: types/vue.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export interface Vue {
6161
$createElement: CreateElement;
6262
}
6363

64-
export type CombinedVueInstance<Instance extends Vue, Data, Methods, Computed, Props> = Instance & Data & Methods & Computed & Props;
64+
export type CombinedVueInstance<Instance extends Vue, Data, Methods, Computed, Props> = Data & Methods & Computed & Props & Instance;
6565
export type ExtendedVue<Instance extends Vue, Data, Methods, Computed, Props> = VueConstructor<CombinedVueInstance<Instance, Data, Methods, Computed, Props> & Vue>;
6666

6767
export interface VueConstructor<V extends Vue = Vue> {

0 commit comments

Comments
 (0)