Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
fix: update api on d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
zeromake committed Aug 30, 2017
1 parent ab19d75 commit cd3bfdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/zreact.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ declare namespace zreact {
*/
eventBind?: boolean;
}
function render(vnode: VNode, parent: Element, vdom?: $private.IVDom): $private.IVDom;
function render(vnode: VNode, parent: Element | Node, dom?: Element | Text | Node): Element | Text | Node;
function h(nodeName: string | typeof Component, attributes: $private.IKeyValue | null, ...args: Array<VNode | string | number | boolean | Array<VNode | string | number | boolean>>): VNode;
function createElement(nodeName: string | typeof Component, attributes: $private.IKeyValue | null, ...args: Array<VNode | string | number | boolean | Array<VNode | string | number | boolean>>): VNode;
function createClass(obj: any): any;
Expand Down

0 comments on commit cd3bfdb

Please sign in to comment.