Skip to content

Commit 94bdf51

Browse files
HerringtonDarkholmelovelope
authored andcommitted
fix(types): improve typing for better completion (vuejs#6886)
1 parent 9b2ca5f commit 94bdf51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/vue.d.ts

Lines changed: 1 addition & 1 deletion
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)