UNPKG

364 BTypeScriptView Raw
1import DebugLib from 'debug';
2declare function Debug(namespace: string): DebugLib.Debugger;
3declare namespace Debug {
4 var enable: (namespace: string) => void;
5 var enabled: (namespace: string) => boolean;
6}
7export default Debug;
8export { Debug };
9export declare type Debugger = DebugLib.Debugger;
10export declare function getLogs(numChars?: number): string;