Remove WinJS.Promise#cancel usage (#56137)

This commit is contained in:
Christof Marti
2018-09-05 09:13:06 +02:00
parent 8539f48172
commit 5f88f89be5
4 changed files with 19 additions and 13 deletions

View File

@@ -404,7 +404,7 @@ export interface TransferInputBox extends BaseTransferQuickInput {
}
export interface MainThreadQuickOpenShape extends IDisposable {
$show(options: IPickOptions<TransferQuickPickItems>): Thenable<number | number[]>;
$show(options: IPickOptions<TransferQuickPickItems>, token: CancellationToken): Thenable<number | number[]>;
$setItems(items: TransferQuickPickItems[]): Thenable<any>;
$setError(error: Error): Thenable<any>;
$input(options: vscode.InputBoxOptions, validateInput: boolean): TPromise<string>;