Skip to content

Commit 5749e3d

Browse files
author
Kartik Raj
committed
Revert "Fix error"
This reverts commit affca3b.
1 parent 0874a6a commit 5749e3d

File tree

2 files changed

+15
-22
lines changed

2 files changed

+15
-22
lines changed

src/vscode-dts/vscode.d.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11319,13 +11319,6 @@ declare module 'vscode' {
1131911319
clear(): void;
1132011320
}
1132111321

11322-
export type EnvironmentVariableScope = {
11323-
/**
11324-
* Any specific workspace folder to get collection for. If unspecified, collection applicable to all workspace folders is returned.
11325-
*/
11326-
workspaceFolder?: WorkspaceFolder;
11327-
};
11328-
1132911322
/**
1133011323
* A location in the editor at which progress information can be shown. It depends on the
1133111324
* location how progress is visually represented.

src/vscode-dts/vscode.proposed.envCollectionWorkspace.d.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ declare module 'vscode' {
77

88
// https://github.com/microsoft/vscode/issues/182069
99

10-
// export interface ExtensionContext {
11-
// /**
12-
// * Gets the extension's environment variable collection for this workspace, enabling changes
13-
// * to be applied to terminal environment variables.
14-
// *
15-
// * @param scope The scope to which the environment variable collection applies to.
16-
// */
17-
// readonly environmentVariableCollection: EnvironmentVariableCollection & { getScopedEnvironmentVariableCollection(scope: EnvironmentVariableScope): EnvironmentVariableCollection };
18-
// }
10+
export interface ExtensionContext {
11+
/**
12+
* Gets the extension's environment variable collection for this workspace, enabling changes
13+
* to be applied to terminal environment variables.
14+
*
15+
* @param scope The scope to which the environment variable collection applies to.
16+
*/
17+
readonly environmentVariableCollection: EnvironmentVariableCollection & { getScopedEnvironmentVariableCollection(scope: EnvironmentVariableScope): EnvironmentVariableCollection };
18+
}
1919

20-
// export type EnvironmentVariableScope = {
21-
// /**
22-
// * Any specific workspace folder to get collection for. If unspecified, collection applicable to all workspace folders is returned.
23-
// */
24-
// workspaceFolder?: WorkspaceFolder;
25-
// };
20+
export type EnvironmentVariableScope = {
21+
/**
22+
* Any specific workspace folder to get collection for. If unspecified, collection applicable to all workspace folders is returned.
23+
*/
24+
workspaceFolder?: WorkspaceFolder;
25+
};
2626

2727
export interface EnvironmentVariableCollection extends Iterable<[variable: string, mutator: EnvironmentVariableMutator]> {
2828
/**

0 commit comments

Comments
 (0)