You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
314 B

1 month ago
  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. };