Fix for react 15

This commit is contained in:
Vincent Langlet
2019-02-12 17:56:19 +01:00
parent 7589446ecf
commit d739720d02
+1 -1
View File
@@ -89,7 +89,7 @@ declare namespace React {
ref?: Ref<T>;
}
interface ReactElement<P> {
interface ReactElement<P = any> {
type: string | ComponentClass<P> | SFC<P>;
props: P;
key: Key | null;