智慧水务管理系统 - 精河县供水工程综合管理平台

123456789101112
  1. import { InjectionKey, MaybeRef, Ref } from "vue";
  2. //#region ../../packages/hooks/use-id/index.d.ts
  3. type ElIdInjectionContext = {
  4. prefix: number;
  5. current: number;
  6. };
  7. declare const ID_INJECTION_KEY: InjectionKey<ElIdInjectionContext>;
  8. declare const useIdInjection: () => ElIdInjectionContext;
  9. declare const useId: (deterministicId?: MaybeRef<string>) => Ref<string>;
  10. //#endregion
  11. export { ElIdInjectionContext, ID_INJECTION_KEY, useId, useIdInjection };