From 7544a6f80d06490b3aa835ed47adb5817630b395 Mon Sep 17 00:00:00 2001 From: Rocco Date: Fri, 28 Sep 2018 18:26:56 +0200 Subject: [PATCH] revert const require, module and process to var --- types/node/index.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/types/node/index.d.ts b/types/node/index.d.ts index d7c358ae00..7da76e19c2 100644 --- a/types/node/index.d.ts +++ b/types/node/index.d.ts @@ -193,7 +193,7 @@ interface String { * GLOBAL * * * ------------------------------------------------*/ -declare const process: NodeJS.Process; +declare var process: NodeJS.Process; declare const global: NodeJS.Global; declare var console: Console; @@ -240,7 +240,7 @@ interface NodeExtensions { [ext: string]: (m: NodeModule, filename: string) => any; } -declare const require: NodeRequire; +declare var require: NodeRequire; interface NodeModule { exports: any; @@ -253,7 +253,7 @@ interface NodeModule { paths: string[]; } -declare const module: NodeModule; +declare var module: NodeModule; // Same as module.exports declare const exports: any;