y-design-ssr
Version:
SSR component library of YUI with Vue3
9 lines (8 loc) • 526 B
TypeScript
import { InjectionKey, ComponentInternalInstance, VNode, VNodeNormalizedChildren } from 'vue';
export interface ReturnRelationProvide {
children: ComponentInternalInstance[];
initProvide: <T>(value: T) => void;
}
export declare const filterChildren: (_children: VNodeNormalizedChildren) => VNode[];
export declare const sortChildren: (children: ComponentInternalInstance[], instance: ComponentInternalInstance) => void;
export declare const setRelation: (key: InjectionKey<unknown> | string) => ReturnRelationProvide;