This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
outline/flow-typed/npm/debug_v2.x.x.js

31 lines
869 B
JavaScript

// flow-typed signature: c7b1e1d8d9c2230d131299ddc21dcb0e
// flow-typed version: da30fe6876/debug_v2.x.x/flow_>=v0.28.x
declare module "debug" {
declare type Debugger = {
(...args: Array<mixed>): void,
(formatter: string, ...args: Array<mixed>): void,
(err: Error, ...args: Array<mixed>): void,
enabled: boolean,
log: () => {},
namespace: string
};
declare module.exports: (namespace: string) => Debugger;
declare var names: Array<string>;
declare var skips: Array<string>;
declare var colors: Array<number>;
declare function disable(): void;
declare function enable(namespaces: string): void;
declare function enabled(name: string): boolean;
declare function humanize(): void;
declare function useColors(): boolean;
declare function log(): void;
declare var formatters: {
[formatter: string]: () => {}
};
}