mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
T extends QuickPickItem (#49340)
This commit is contained in:
@@ -460,7 +460,7 @@ export function createApiFactory(
|
||||
return extHostQuickOpen.backButton;
|
||||
})();
|
||||
},
|
||||
createQuickPick: proposedApiFunction(extension, (): vscode.QuickPick => {
|
||||
createQuickPick: proposedApiFunction(extension, <T extends vscode.QuickPickItem>(): vscode.QuickPick<T> => {
|
||||
return extHostQuickOpen.createQuickPick(extension.id);
|
||||
}),
|
||||
createInputBox: proposedApiFunction(extension, (): vscode.InputBox => {
|
||||
|
||||
Reference in New Issue
Block a user