Skip to content

Commit

Permalink
fix(vue2): participate in RefUnwrapBailTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
ascott18 committed Oct 19, 2023
1 parent 6536377 commit 6c432d0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/coalesce-vue/src/api-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2007,3 +2007,10 @@ declare module "@vue/reactivity" {
coalesceApiModels: ApiState<any, any> | ApiClient<any>;
}
}

// The vue2 version of this interface:
declare module "vue" {
export interface RefUnwrapBailTypes {
coalesceApiModels: ApiState<any, any> | ApiClient<any>;
}
}
7 changes: 7 additions & 0 deletions src/coalesce-vue/src/viewmodel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2219,3 +2219,10 @@ declare module "@vue/reactivity" {
coalesceViewModels: ViewModel | ListViewModel | ServiceViewModel;
}
}

// The vue2 version of this interface:
declare module "vue" {
export interface RefUnwrapBailTypes {
coalesceViewModels: ViewModel | ListViewModel | ServiceViewModel;
}
}

0 comments on commit 6c432d0

Please sign in to comment.