Skip to content

Commit

Permalink
plugin: align updateWorkspaceFolders API
Browse files Browse the repository at this point in the history
The commit aligns the `updateWorkspaceFolders` API with the expectations
from the VS Code API and should ultimately mark the API as supported in
the compatibility report.

Signed-off-by: vince-fugnitto <[email protected]>
  • Loading branch information
vince-fugnitto committed Mar 23, 2022
1 parent a19ce98 commit 7a44ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin/src/theia.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6214,7 +6214,7 @@ export module '@theia/plugin' {
* @return true if the operation was successfully started and false otherwise if arguments were used that would result
* in invalid workspace folder state (e.g. 2 folders with the same URI).
*/
export function updateWorkspaceFolders(start: number, deleteCount: number | undefined | null, ...workspaceFoldersToAdd: { uri: Uri, name?: string }[]): boolean;
export function updateWorkspaceFolders(start: number, deleteCount: number | undefined | null, ...workspaceFoldersToAdd: { readonly uri: Uri, readonly name?: string }[]): boolean;

/**
* ~~Register a task provider.~~
Expand Down

0 comments on commit 7a44ee6

Please sign in to comment.