index.d.ts 314 B

12345678
  1. import type { ComponentInternalInstance } from 'vue';
  2. export declare const useOrderedChildren: <T extends {
  3. uid: number;
  4. }>(vm: ComponentInternalInstance, childComponentName: string) => {
  5. children: import("vue").ShallowRef<T[]>;
  6. addChild: (child: T) => void;
  7. removeChild: (uid: number) => void;
  8. };