Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

Commit

Permalink
fix: refine ComponentOption type
Browse files Browse the repository at this point in the history
  • Loading branch information
marudor authored and JohannesLamberts committed Sep 5, 2019
1 parent 301cb02 commit d4a6ee7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ declare module 'vue/types/options' {
interface ComponentOptions<V extends Vue> {
modelRegistry?: Registry,
injectModels?: string[]
models?: VueModelMap | ((this: Vue) => VueModelMap)
models?: VueModelMap | ((this: V) => VueModelMap)
modelId?: string,
modelGId?: string,
exportState?: boolean | ((this: Vue, componentArgs: any) => boolean)
exportState?: boolean | ((this: V, componentArgs: any) => boolean)
}
}

Expand Down

0 comments on commit d4a6ee7

Please sign in to comment.