Fix version in error message (#147750)

This commit is contained in:
Andrii Dieiev
2022-04-20 19:40:18 +03:00
committed by GitHub
parent 21cc113c82
commit 7e887b76ea

View File

@@ -55,7 +55,7 @@ class SourceDefinitionCommand implements Command {
public async execute() {
if (this.client.apiVersion.lt(SourceDefinitionCommand.minVersion)) {
vscode.window.showErrorMessage(localize('error.unsupportedVersion', "Go to Source Definition failed. Requires TypeScript 4.2+."));
vscode.window.showErrorMessage(localize('error.unsupportedVersion', "Go to Source Definition failed. Requires TypeScript 4.7+."));
return;
}