Merge branch 'change_unexposed_error_message' of https://github.com/YuichiNukiyama/TypeScript into YuichiNukiyama-change_unexposed_error_message

This commit is contained in:
Mohamed Hegazy
2016-09-13 20:59:15 -07:00
34 changed files with 354 additions and 210 deletions

View File

@@ -1317,7 +1317,7 @@ namespace ts {
symbol = getSymbol(getExportsOfSymbol(namespace), right.text, meaning);
if (!symbol) {
if (!ignoreErrors) {
error(right, Diagnostics.Module_0_has_no_exported_member_1, getFullyQualifiedName(namespace), declarationNameToString(right));
error(right, Diagnostics.Module_or_namespace_0_has_no_exported_member_1, getFullyQualifiedName(namespace), declarationNameToString(right));
}
return undefined;
}

View File

@@ -1951,6 +1951,11 @@
"category": "Error",
"code": 2693
},
"Module or namespace '{0}' has no exported member '{1}'.": {
"category": "Error",
"code": 2694
},
"Import declaration '{0}' is using private name '{1}'.": {
"category": "Error",
"code": 4000