Updated for v4 redux

This commit is contained in:
Duncan Tweed 2018-05-10 15:00:44 +10:00
parent 0e6db5935a
commit 6f5d2c6417

8
index.d.ts vendored
View File

@ -7,14 +7,12 @@ import { StoreEnhancer } from "redux";
export interface DevTools { export interface DevTools {
new (): JSX.ElementClass; new (): JSX.ElementClass;
instrument(opts?: any): StoreEnhancer<any>; instrument(opts?: any): StoreEnhancer;
} }
export declare function createDevTools(el: React.ReactElement<any>): DevTools; export declare function createDevTools(el: React.ReactElement<any>): DevTools;
export declare function persistState( export declare function persistState(debugSessionKey: string): StoreEnhancer;
debugSessionKey: string
): StoreEnhancer<any>;
declare const factory: { instrument(opts?: any): () => StoreEnhancer<any> }; declare const factory: { instrument(opts?: any): () => StoreEnhancer };
export default factory; export default factory;