redux-devtools/index.d.ts

19 lines
525 B
TypeScript
Raw Normal View History

2018-05-10 07:56:15 +03:00
// Redux version 4.0.0
// 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;
}
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 08:00:44 +03:00
declare const factory: { instrument(opts?: any): () => StoreEnhancer };
export default factory;