Update index.d.ts

added missing `context` prop.

ref: https://nodejs.org/dist/latest-v6.x/docs/api/repl.html#repl_global_and_local_scope
This commit is contained in:
Ricardo De Peña
2017-01-26 16:25:02 -05:00
committed by GitHub
parent 1fdfb5b035
commit 12aebc4dab

2
node/v6/index.d.ts vendored
View File

@@ -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