Skip to content

Instantly share code, notes, and snippets.

@Johannestegner
Created May 13, 2015 09:20
Show Gist options
  • Save Johannestegner/bbe2027351542a063220 to your computer and use it in GitHub Desktop.
Save Johannestegner/bbe2027351542a063220 to your computer and use it in GitHub Desktop.
Ambient node-yolog definition file.
declare module 'node-yolog' {
export function setObjectMaxDepth(value: number);
export function setFunctionName(state: boolean);
export function setColor(tag: string, color: string);
export function set(value: boolean, ...args: any[]);
export function get(tag: string): boolean;
export function trace(...args: any[]);
export function debug(format: string, ...args: any[]);
export function error(format: string, ...args: any[]);
export function warning(format: string, ...args: any[]);
export function info(format: string, ...args: any[]);
export function todo(format: string, ...args: any[]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment