first commit

This commit is contained in:
2025-12-29 14:59:44 +08:00
commit 10c3fbb0d7
5315 changed files with 795443 additions and 0 deletions

15
node_modules/@vant/use/dist/useRelation/useParent.d.ts generated vendored Normal file
View File

@@ -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 {};