mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-28 18:12:45 -05:00
Fix TS 4.1 error
This commit is contained in:
@@ -137,7 +137,7 @@ async function toggleAutoAttachSetting(scope?: vscode.ConfigurationTarget): Prom
|
||||
|
||||
const result = await new Promise<PickResult>(resolve => {
|
||||
quickPick.onDidAccept(() => resolve(quickPick.selectedItems[0]));
|
||||
quickPick.onDidHide(() => resolve());
|
||||
quickPick.onDidHide(() => resolve(undefined));
|
||||
quickPick.onDidTriggerButton(() => {
|
||||
resolve({
|
||||
scope: isGlobalScope
|
||||
|
||||
Reference in New Issue
Block a user