add a global delayed user env in process.delayedEnv, #16508

This commit is contained in:
Johannes Rieken
2016-12-20 12:14:45 +01:00
parent 05046a08ca
commit 1d5751ae11
3 changed files with 37 additions and 1 deletions

16
src/typings/node.processEnv-ext.d.ts vendored Normal file
View File

@@ -0,0 +1,16 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
declare namespace NodeJS {
export interface Process {
/**
* VS Code specific extension of a delayed
* process enviroment.
*/
delayedEnv: Thenable<typeof process.env> | undefined;
}
}