mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* [react-instantsearch] update to v6 - createIndex & createInstantSearch no longer exist, replaced by the component in -core - InstantSearch no longer accepts appId & apiKey - InstantSearch no longer accepts `root` (& neither Index, but that wasn't typed) - /server API has changed, now exposes directly `findResultsState` * fix small typo things * update native tests * declare newer stuff * prevent error * interfaces are required apparently * Update types/react-instantsearch-core/index.d.ts * Update types/react-instantsearch-dom/index.d.ts * fix lint? * remove failing test * hmm * hmm this test is weird but that's ok * old typescript
4 lines
124 B
TypeScript
4 lines
124 B
TypeScript
import * as React from 'react';
|
|
|
|
export function findResultsState(App: React.ComponentType<any>, props: any): Promise<any>;
|