Make test green again

This commit is contained in:
tock203
2017-12-20 03:10:00 +09:00
parent f6184ce001
commit c6f2ca5fd4
+3 -1
View File
@@ -8,10 +8,12 @@ import { ComponentClass, StatelessComponent, ReactElement } from 'react';
declare namespace h {}
type Element = ReactElement<any> | string | null;
declare function h<P>(
componentOrTag: ComponentClass<P> | StatelessComponent<P> | string,
properties?: P,
children?: ReadonlyArray<ReactElement<any>> | string
children?: ReadonlyArray<Element> | Element
): ReactElement<P>;
export = h;