1
1
mirror of https://github.com/reduxjs/redux-devtools.git synced 2025-02-28 17:30:38 +03:00

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 {
new (): JSX.ElementClass;
instrument(opts?: any): StoreEnhancer<any>;
instrument(opts?: any): StoreEnhancer;
}
export declare function createDevTools(el: React.ReactElement<any>): DevTools;
export declare function persistState(
debugSessionKey: string
): StoreEnhancer<any>;
export declare function persistState(debugSessionKey: string): StoreEnhancer;
declare const factory: { instrument(opts?: any): () => StoreEnhancer<any> };
declare const factory: { instrument(opts?: any): () => StoreEnhancer };
export default factory;