From 12aebc4dab8ee03e8a2ef2867f60b70124c728bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20De=20Pe=C3=B1a?= Date: Thu, 26 Jan 2017 16:25:02 -0500 Subject: [PATCH] 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 --- node/v6/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/node/v6/index.d.ts b/node/v6/index.d.ts index 2f4d36202d..826bd1108b 100644 --- a/node/v6/index.d.ts +++ b/node/v6/index.d.ts @@ -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