mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-03-01 01:40:36 +03:00
Updated for v4 redux
This commit is contained in:
parent
0e6db5935a
commit
6f5d2c6417
8
index.d.ts
vendored
8
index.d.ts
vendored
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user