Address PR comment

This commit is contained in:
Nathan Shively-Sanders
2017-02-14 14:13:12 -08:00
parent 2f27e85a18
commit d1a972fcdd
5 changed files with 20 additions and 20 deletions

View File

@@ -317,7 +317,7 @@ namespace ts {
function reportIllegalExtends() {
if (errorNameNode) {
reportedDeclarationError = true;
emitterDiagnostics.add(createDiagnosticForNode(errorNameNode, Diagnostics.Extends_clause_of_exported_class_0_refers_to_a_type_with_no_declaration,
emitterDiagnostics.add(createDiagnosticForNode(errorNameNode, Diagnostics.Extends_clause_of_exported_class_0_refers_to_a_type_whose_name_cannot_be_referenced,
declarationNameToString(errorNameNode)));
}
}

View File

@@ -2352,7 +2352,7 @@
"category": "Error",
"code": 4092
},
"Extends clause of exported class '{0}' refers to a type with no declaration.": {
"Extends clause of exported class '{0}' refers to a type whose name cannot be referenced.": {
"category": "Error",
"code": 4093
},