Files
DefinitelyTyped/redux-devtools/index.d.ts
Mine Yalcinalp Starks 253e456e3c Merge remote-tracking branch 'upstream/master' into types-2.0
Many badly resolved merge conflicts
2016-11-18 20:42:46 -08:00

21 lines
629 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';
export interface IDevTools {
new (): JSX.ElementClass;
instrument(): (opts: any) => any;
}
export declare function createDevTools(el: React.ReactElement<any>): IDevTools;
export declare function persistState(debugSessionKey: string): Function;
declare const factory: { instrument(): Function };
export default factory;