UNPKG

312 BTypeScriptView Raw
1export type DebugFunction = (...args: any[]) => void;
2export type DebugInitializer = (name: string) => DebugFunction;
3export declare function noopDebug(): DebugFunction;
4export declare function setDebug(debug: DebugInitializer): void;
5export declare function createDebug(name: string): (...args: any[]) => void;