mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
22 lines
663 B
TypeScript
22 lines
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;
|
|
} |