9 lines
314 B
TypeScript
9 lines
314 B
TypeScript
|
import type { ComponentInternalInstance } from 'vue';
|
||
|
export declare const useOrderedChildren: <T extends {
|
||
|
uid: number;
|
||
|
}>(vm: ComponentInternalInstance, childComponentName: string) => {
|
||
|
children: import("vue").ShallowRef<T[]>;
|
||
|
addChild: (child: T) => void;
|
||
|
removeChild: (uid: number) => void;
|
||
|
};
|