Skip to content

Commit faca5e6

Browse files
DamianOsipiukposva
andauthored
fix: missing type exports for hasInjectionContext in Vue 2 (#241)
Co-authored-by: Eduardo San Martin Morote <posva@users.noreply.github.com>
1 parent e849e2a commit faca5e6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/v2.7/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,5 @@ export interface App<T = any> {
3434
}
3535
export declare function createApp(rootComponent: any, rootProps?: any): App
3636
// #endregion
37+
38+
export declare function hasInjectionContext(): boolean

lib/v2/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ export {
2929
version,
3030
install,
3131
}
32+
33+
export declare function hasInjectionContext(): boolean

0 commit comments

Comments
 (0)