Improve error message

And accept baselines
This commit is contained in:
Nathan Shively-Sanders
2015-11-25 10:51:31 -08:00
parent f42841c846
commit c87c1e9b3f
42 changed files with 178 additions and 178 deletions
+3 -3
View File
@@ -5454,9 +5454,9 @@ namespace ts {
}
}
if (localErrors) {
reportError(Diagnostics.Signature_0_has_no_corresponding_signature_in_1,
signatureToString(t, /*enclosingDeclaration*/ undefined, /*flags*/ undefined, kind),
typeToString(source));
reportError(Diagnostics.Type_0_provides_no_match_for_the_signature_1,
typeToString(source),
signatureToString(t, /*enclosingDeclaration*/ undefined, /*flags*/ undefined, kind));
}
return Ternary.False;
}
+1 -1
View File
@@ -1724,7 +1724,7 @@
"category": "Error",
"code": 2657
},
"Signature '{0}' has no corresponding signature in '{1}'": {
"Type '{0}' provides no match for the signature '{1}'": {
"category": "Error",
"code": 2658
},