diff --git a/lib/v2.7/index.d.ts b/lib/v2.7/index.d.ts index 0734874..827c7b2 100644 --- a/lib/v2.7/index.d.ts +++ b/lib/v2.7/index.d.ts @@ -34,3 +34,5 @@ export interface App { } export declare function createApp(rootComponent: any, rootProps?: any): App // #endregion + +export declare function hasInjectionContext(): boolean diff --git a/lib/v2/index.d.ts b/lib/v2/index.d.ts index 962e0a8..bbdcbc5 100644 --- a/lib/v2/index.d.ts +++ b/lib/v2/index.d.ts @@ -29,3 +29,5 @@ export { version, install, } + +export declare function hasInjectionContext(): boolean