first commit
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
import * as vue from "vue";
|
||||
import { ComponentInternalInstance, VNode } from "vue";
|
||||
|
||||
//#region ../../packages/hooks/use-ordered-children/index.d.ts
|
||||
type ChildEssential = {
|
||||
uid: number;
|
||||
getVnode: () => VNode;
|
||||
};
|
||||
declare const useOrderedChildren: <T extends ChildEssential>(vm: ComponentInternalInstance, childComponentName: string) => {
|
||||
children: vue.ShallowRef<T[], T[]>;
|
||||
addChild: (child: T) => void;
|
||||
removeChild: (child: T) => void;
|
||||
ChildrenSorter: vue.DefineComponent<{}, () => VNode<vue.RendererNode, vue.RendererElement, {
|
||||
[key: string]: any;
|
||||
}> | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
||||
};
|
||||
//#endregion
|
||||
export { useOrderedChildren };
|
||||
Reference in New Issue
Block a user