mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-08 08:04:19 +08:00
21 lines
611 B
TypeScript
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;
|