debt - remove TPromise from ExtHostTaskShape

This commit is contained in:
Johannes Rieken
2018-09-06 14:11:42 +02:00
parent ad77d67737
commit 66ba38c55d
3 changed files with 8 additions and 7 deletions

View File

@@ -894,12 +894,12 @@ export interface ExtHostSCMShape {
}
export interface ExtHostTaskShape {
$provideTasks(handle: number, validTypes: { [key: string]: boolean; }): TPromise<TaskSet>;
$provideTasks(handle: number, validTypes: { [key: string]: boolean; }): Thenable<TaskSet>;
$onDidStartTask(execution: TaskExecutionDTO): void;
$onDidStartTaskProcess(value: TaskProcessStartedDTO): void;
$onDidEndTaskProcess(value: TaskProcessEndedDTO): void;
$OnDidEndTask(execution: TaskExecutionDTO): void;
$resolveVariables(workspaceFolder: UriComponents, variables: string[]): TPromise<any>;
$resolveVariables(workspaceFolder: UriComponents, variables: string[]): Thenable<any>;
}
export interface IBreakpointDto {