前端初始化

This commit is contained in:
“hsc”
2026-08-21 15:27:51 +08:00
commit ef029340f2
14411 changed files with 2275932 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import { InjectionKey, MaybeRef, Ref } from "vue";
//#region ../../packages/hooks/use-id/index.d.ts
type ElIdInjectionContext = {
prefix: number;
current: number;
};
declare const ID_INJECTION_KEY: InjectionKey<ElIdInjectionContext>;
declare const useIdInjection: () => ElIdInjectionContext;
declare const useId: (deterministicId?: MaybeRef<string>) => Ref<string>;
//#endregion
export { ElIdInjectionContext, ID_INJECTION_KEY, useId, useIdInjection };