mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-20 00:59:29 +08:00
Update index.d.ts
This commit is contained in:
12
node-wit/index.d.ts
vendored
12
node-wit/index.d.ts
vendored
@@ -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<MessageResponse>;
|
||||
converse(sessinId: string, message: string, context: WitContext, reset?: boolean): Promise<MessageResponse>;
|
||||
runActions(sessinId: string, message: string, context: WitContext, maxSteps?: number): Promise<WitContext>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user