2018-05-10 07:56:15 +03:00
|
|
|
// Redux version 4.0.0
|
2018-05-10 07:52:07 +03:00
|
|
|
// Type definitions for redux-devtools 3.4.1
|
|
|
|
// TypeScript Version: 2.8.1
|
|
|
|
|
|
|
|
import * as React from "react";
|
|
|
|
import { StoreEnhancer } from "redux";
|
|
|
|
|
|
|
|
export interface DevTools {
|
|
|
|
new (): JSX.ElementClass;
|
2018-05-10 08:00:44 +03:00
|
|
|
instrument(opts?: any): StoreEnhancer;
|
2018-05-10 07:52:07 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
export declare function createDevTools(el: React.ReactElement<any>): DevTools;
|
2018-05-10 08:00:44 +03:00
|
|
|
export declare function persistState(debugSessionKey: string): StoreEnhancer;
|
2018-05-10 07:52:07 +03:00
|
|
|
|
2018-05-10 08:00:44 +03:00
|
|
|
declare const factory: { instrument(opts?: any): () => StoreEnhancer };
|
2018-05-10 07:52:07 +03:00
|
|
|
|
|
|
|
export default factory;
|