mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #29267 from actraiser/master
revert const require, module and process to var
This commit is contained in:
Vendored
+3
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user