Skip to content
Snippets Groups Projects
Commit 6ac5c446 authored by Sigmund, Dominik's avatar Sigmund, Dominik
Browse files

fixed typescript declare

parent 50f5dd82
No related branches found
No related tags found
1 merge request!1Update index.test.js, examples/all-options.js, examples/log-to-file.js,...
declare module 'Log' {
export function info(message: string): string;
export function notice(message: string): string;
export function debug(message: string): string;
export function warning(message: string): string;
export function log(message: string): string;
export as namespace Log;
export = Log;
/*~ Write your module's methods and properties in this class */
declare class Log {
constructor(config?: any);
info(message: string): string;
notice(message: string): string;
debug(message: string): string;
warning(message: string): string;
log(message: string): string;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment