Add localizable diagnostic for "Install '{0}'" (#19651)

This commit is contained in:
Andy
2017-11-03 18:14:21 -07:00
committed by GitHub
parent 845c066923
commit 8d5b0529b2
2 changed files with 5 additions and 1 deletions

View File

@@ -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 }],
};