Skip to content

Commit

Permalink
fix(types): improve typing for better completion (vuejs#6886)
Browse files Browse the repository at this point in the history
  • Loading branch information
HerringtonDarkholme authored and lovelope committed Feb 1, 2018
1 parent 9b2ca5f commit 94bdf51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/vue.d.ts
Expand Up @@ -61,7 +61,7 @@ export interface Vue {
$createElement: CreateElement;
}

export type CombinedVueInstance<Instance extends Vue, Data, Methods, Computed, Props> = Instance & Data & Methods & Computed & Props;
export type CombinedVueInstance<Instance extends Vue, Data, Methods, Computed, Props> = Data & Methods & Computed & Props & Instance;
export type ExtendedVue<Instance extends Vue, Data, Methods, Computed, Props> = VueConstructor<CombinedVueInstance<Instance, Data, Methods, Computed, Props> & Vue>;

export interface VueConstructor<V extends Vue = Vue> {
Expand Down

0 comments on commit 94bdf51

Please sign in to comment.