mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
Merge pull request #14278 from rdepena/patch-1
Added context object to REPLServer for @types/node
This commit is contained in:
2
node/v6/index.d.ts
vendored
2
node/v6/index.d.ts
vendored
@@ -1368,6 +1368,8 @@ declare module "repl" {
|
||||
defineCommand(keyword: string, cmd: Function | { help: string, action: Function }): void;
|
||||
displayPrompt(preserveCursor?: boolean): void;
|
||||
|
||||
context: any;
|
||||
|
||||
/**
|
||||
* events.EventEmitter
|
||||
* 1. exit
|
||||
|
||||
Reference in New Issue
Block a user