@feathersjs/commons
Version:
Shared Feathers utility functions
6 lines (5 loc) • 312 B
TypeScript
export type DebugFunction = (...args: any[]) => void;
export type DebugInitializer = (name: string) => DebugFunction;
export declare function noopDebug(): DebugFunction;
export declare function setDebug(debug: DebugInitializer): void;
export declare function createDebug(name: string): (...args: any[]) => void;