Ensure 'react' imported in DOM

This commit is contained in:
Gordon
2018-10-16 14:23:04 -05:00
parent e73485bde6
commit ee4495fefd
+3 -1
View File
@@ -1,3 +1,5 @@
import * as React from 'react';
import { Hit, BasicDoc } from '../types';
// Core
@@ -20,7 +22,7 @@ export interface CommonWidgetProps {
*
* https://community.algolia.com/react-instantsearch/guide/i18n.html
*/
translations?: { [key: string]: string | (...args: any[]) => any };
translations?: { [key: string]: string | ((...args: any[]) => any) };
}
export interface InstantSearchProps {