mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-04 14:33:25 -05:00
Add localizable diagnostic for "Install '{0}'" (#19651)
This commit is contained in:
@@ -26,7 +26,7 @@ namespace ts.codefix {
|
||||
|
||||
const typesPackageName = getTypesPackageName(packageName);
|
||||
return {
|
||||
description: `Install '${typesPackageName}'`,
|
||||
description: formatStringFromArgs(getLocaleSpecificMessage(Diagnostics.Install_0), [typesPackageName]),
|
||||
changes: [],
|
||||
commands: [{ type: "install package", packageName: typesPackageName }],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user