mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
Fix h() signatures to reflect virtual-hyperscript readme
(I must have misread the jsig file)
This commit is contained in:
1 parent
0faae8ebf7
commit
1e2a1e22e5
1 file changed
+2
-2
Vendored
+2
-2
@@ -95,8 +95,8 @@ declare module VirtualDOM {
|
||||
*/
|
||||
function create(vnode: VText, opts?: {document?: Document, warn?: boolean}): Text;
|
||||
function create(vnode: VNode | Widget | Thunk, opts?: {document?: Document, warn?: boolean}): Element;
|
||||
function h(tagName: string, properties: createProperties, ...children: VChild[]): VNode;
|
||||
function h(tagName: string, ...children: VChild[]): VNode;
|
||||
function h(tagName: string, properties: createProperties, children: string | VChild[]): VNode;
|
||||
function h(tagName: string, children: string | VChild[]): VNode;
|
||||
function diff(left: VTree, right: VTree): VPatch[];
|
||||
/**
|
||||
patch() usually just returns rootNode after doing stuff to it, so we want
|
||||
|
||||
Reference in new issue
Block a user