1 | import { VNode, VNodeData } from './vnode';
|
2 | export declare type VNodes = Array<VNode>;
|
3 | export declare type VNodeChildElement = VNode | string | number | undefined | null;
|
4 | export declare type ArrayOrElement<T> = T | T[];
|
5 | export declare type VNodeChildren = ArrayOrElement<VNodeChildElement>;
|
6 | export declare function h(sel: string): VNode;
|
7 | export declare function h(sel: string, data: VNodeData): VNode;
|
8 | export declare function h(sel: string, children: VNodeChildren): VNode;
|
9 | export declare function h(sel: string, data: VNodeData, children: VNodeChildren): VNode;
|
10 | export default h;
|