Skip to content

Commit

Permalink
fix: missing type exports for hasInjectionContext in Vue 2 (#241)
Browse files Browse the repository at this point in the history
Co-authored-by: Eduardo San Martin Morote <[email protected]>
  • Loading branch information
DamianOsipiuk and posva committed Aug 26, 2023
1 parent e849e2a commit faca5e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/v2.7/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ export interface App<T = any> {
}
export declare function createApp(rootComponent: any, rootProps?: any): App
// #endregion

export declare function hasInjectionContext(): boolean
2 changes: 2 additions & 0 deletions lib/v2/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ export {
version,
install,
}

export declare function hasInjectionContext(): boolean

0 comments on commit faca5e6

Please sign in to comment.