mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
32 lines
820 B
TypeScript
32 lines
820 B
TypeScript
// Type definitions for remote-redux-devtools v0.3.2
|
|
// Project: https://github.com/zalmoxisus/remote-redux-devtools
|
|
// Definitions by: Colin Eberhardt <https://github.com/ColinEberhardt>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
declare module "remote-redux-devtools" {
|
|
|
|
type StringOrArray = string | string[];
|
|
|
|
interface Config {
|
|
name?: string;
|
|
realtime?: boolean;
|
|
hostname?: string;
|
|
port?: number;
|
|
secure?: boolean;
|
|
filters?: {[key: string]: string[]};
|
|
maxAge?: number;
|
|
startOn?: StringOrArray;
|
|
stopOn?: StringOrArray;
|
|
sendOn?: StringOrArray;
|
|
sendOnError?: number;
|
|
sendTo?: string;
|
|
id?: string;
|
|
}
|
|
|
|
function devTools(config?: Config): Function;
|
|
|
|
namespace devTools {}
|
|
|
|
export = devTools;
|
|
}
|