Update the message

This commit is contained in:
Zhengbo Li
2017-01-10 17:55:52 -08:00
parent 54f1230760
commit 0c7e4bbb45
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3247,7 +3247,7 @@
"category": "Message",
"code": 90003
},
"Remove the unused identifier: {0}": {
"Remove declaration for: {0}": {
"category": "Message",
"code": 90004
},
@@ -146,7 +146,7 @@ namespace ts.codefix {
function createCodeFix(newText: string, start: number, length: number): CodeAction[] {
return [{
description: formatStringFromArgs(getLocaleSpecificMessage(Diagnostics.Remove_the_unused_identifier_Colon_0), { 0: token.getText() }),
description: formatStringFromArgs(getLocaleSpecificMessage(Diagnostics.Remove_declaration_for_Colon_0), { 0: token.getText() }),
changes: [{
fileName: sourceFile.fileName,
textChanges: [{ newText, span: { start, length } }]