mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 11:41:44 +00:00
Added variable process
This commit is contained in:
Vendored
+9
@@ -187,6 +187,10 @@ declare namespace __WebpackModuleApi {
|
||||
autoApply?: boolean;
|
||||
}
|
||||
|
||||
interface NodeProcess {
|
||||
env?: any;
|
||||
}
|
||||
|
||||
type __Require1 = (id: string) => any;
|
||||
type __Require2 = <T>(id: string) => T;
|
||||
type RequireLambda = __Require1 & __Require2;
|
||||
@@ -247,3 +251,8 @@ declare var DEBUG: boolean;
|
||||
interface NodeModule extends __WebpackModuleApi.Module {}
|
||||
|
||||
declare var module: NodeModule;
|
||||
|
||||
declare namespace NodeJS {
|
||||
interface Process extends __WebpackModuleApi.NodeProcess {}
|
||||
}
|
||||
declare var process: NodeJS.Process;
|
||||
|
||||
Reference in New Issue
Block a user