address feedback by having concrete ValidationMessage type

This commit is contained in:
Tyler Leonhardt
2022-04-12 17:18:13 -07:00
parent 27dd7b41b6
commit 527d63162a
3 changed files with 44 additions and 17 deletions

View File

@@ -625,7 +625,6 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
showInputBox(options?: vscode.InputBoxOptions, token?: vscode.CancellationToken) {
if (options?.validateInput2) {
checkProposedApiEnabled(extension, 'inputBoxSeverity');
options.validateInput = options.validateInput2 as any;
}
return extHostQuickOpen.showInput(options, token);
},