mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-06-16 15:51:35 -05:00
Component commits:
5392e26891 Fix export = error message to not have redundant language
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
This commit is contained in:
@@ -2819,7 +2819,7 @@ namespace ts {
|
||||
if (exportAssignment) {
|
||||
addRelatedInfo(err, createDiagnosticForNode(
|
||||
exportAssignment,
|
||||
Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,
|
||||
Diagnostics.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,
|
||||
compilerOptionName
|
||||
));
|
||||
}
|
||||
|
||||
@@ -2677,7 +2677,7 @@
|
||||
"category": "Error",
|
||||
"code": 2593
|
||||
},
|
||||
"This module is declared with using 'export =', and can only be used with a default import when using the '{0}' flag.": {
|
||||
"This module is declared with 'export =', and can only be used with a default import when using the '{0}' flag.": {
|
||||
"category": "Error",
|
||||
"code": 2594
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user