diff --git a/node-wit/index.d.ts b/node-wit/index.d.ts index 4421b1b9b0..9ded60de17 100644 --- a/node-wit/index.d.ts +++ b/node-wit/index.d.ts @@ -7,15 +7,15 @@ import * as Promise from "bluebird"; export namespace log { - class Logger { + declare class Logger { constructor(lvl: string); } - const DEBUG = 'debug'; - const INFO = 'info'; - const WARN = 'warn'; - const ERROR = 'error'; + declare const DEBUG = 'debug'; + declare const INFO = 'info'; + declare const WARN = 'warn'; + declare const ERROR = 'error'; } export interface WitEntityValue { @@ -78,4 +78,4 @@ export declare class Wit { message(message: string, context: WitContext): Promise; converse(sessinId: string, message: string, context: WitContext, reset?: boolean): Promise; runActions(sessinId: string, message: string, context: WitContext, maxSteps?: number): Promise; -} \ No newline at end of file +}