feat: 微客宝H5客户端 - 基础架构+核心页面
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
import { InjectionKey, ComponentPublicInstance, ComponentInternalInstance } from 'vue';
|
||||
type ParentProvide<T> = T & {
|
||||
link(child: ComponentInternalInstance): void;
|
||||
unlink(child: ComponentInternalInstance): void;
|
||||
children: ComponentPublicInstance[];
|
||||
internalChildren: ComponentInternalInstance[];
|
||||
};
|
||||
export declare function useParent<T>(key: InjectionKey<ParentProvide<T>>): {
|
||||
parent: ParentProvide<T>;
|
||||
index: import("vue").ComputedRef<number>;
|
||||
} | {
|
||||
parent: null;
|
||||
index: import("vue").Ref<number>;
|
||||
};
|
||||
export {};
|
||||
Reference in New Issue
Block a user