From 3f52c0e4125732ef62cc2da5764bbe4f4911b4ef Mon Sep 17 00:00:00 2001 From: Ivan Wang Date: Sat, 30 Mar 2019 13:00:45 +1100 Subject: [PATCH] Export interface HitsProvided So that we have access to the accurate prop type of `` that passed to `` --- types/react-instantsearch-core/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-instantsearch-core/index.d.ts b/types/react-instantsearch-core/index.d.ts index ed0241ffad..bc968f519d 100644 --- a/types/react-instantsearch-core/index.d.ts +++ b/types/react-instantsearch-core/index.d.ts @@ -320,7 +320,7 @@ export type HighlightProps = HighlightProvided & HighlightPass export function connectHighlight(stateless: React.StatelessComponent>): React.ComponentClass>; export function connectHighlight>, TDoc>(ctor: React.ComponentType): ConnectedComponentClass>; -interface HitsProvided { +export interface HitsProvided { /** the records that matched the search state */ hits: Array>; }