declarations
Version:
[](https://www.npmjs.com/package/declarations)
22 lines (16 loc) • 663 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 path="../react/react.d.ts" />
declare module "redux-devtools" {
import * as React from 'react'
interface IDevTools {
new (): JSX.ElementClass
instrument(): (opts: any) => any;
}
export function createDevTools(el: React.ReactElement<any>): IDevTools
export function persistState(debugSessionKey: string): Function
var factory: { instrument(): (opts: any) => any }
export default factory;
}