Skip to content

Commit affca3b

Browse files
author
Kartik Raj
committed
Fix error
1 parent 88799ca commit affca3b

File tree

2 files changed

+22
-15
lines changed

2 files changed

+22
-15
lines changed

src/vscode-dts/vscode.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11319,6 +11319,13 @@ 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+
1132211329
/**
1132311330
* A location in the editor at which progress information can be shown. It depends on the
1132411331
* 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)