mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 09:41:45 +00:00
Ensure 'react' imported in DOM
This commit is contained in:
+3
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user