Files
DefinitelyTyped/redux-devtools/index.d.ts

21 lines
611 B
TypeScript

// Type definitions for redux-devtools 3.0.0
// Project: https://github.com/gaearon/redux-devtools
// Definitions by: Petryshyn Sergii <https://github.com/mc-petry>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="react" />
import * as React from 'react';
interface IDevTools {
new (): JSX.ElementClass;
instrument(): Function
}
export declare function createDevTools(el: React.ReactElement<any>): IDevTools;
export declare function persistState(debugSessionKey: string): Function;
declare const factory: { instrument(): Function };
export default factory;