Move TaskGroup isDefault api out of proposed

Part of #79188
This commit is contained in:
Alex Ross
2021-08-16 15:06:34 +02:00
parent 59eac5771b
commit 84a8a567e8
6 changed files with 16 additions and 21 deletions

View File

@@ -214,7 +214,7 @@ export namespace TaskHandleDTO {
}
}
export namespace TaskGroupDTO {
export function from(value: vscode.TaskGroup2): tasks.TaskGroupDTO | undefined {
export function from(value: vscode.TaskGroup): tasks.TaskGroupDTO | undefined {
if (value === undefined || value === null) {
return undefined;
}
@@ -276,7 +276,7 @@ export namespace TaskDTO {
},
execution: execution!,
isBackground: value.isBackground,
group: TaskGroupDTO.from(value.group as vscode.TaskGroup2),
group: TaskGroupDTO.from(value.group as vscode.TaskGroup),
presentationOptions: TaskPresentationOptionsDTO.from(value.presentationOptions),
problemMatchers: value.problemMatchers,
hasDefinedMatchers: (value as types.Task).hasDefinedMatchers,