Bad error message for default export in namespace #11092
Labels
Bug
A bug in TypeScript
Domain: Error Messages
The issue relates to error messaging
Fixed
A PR has been merged for this issue
Help Wanted
You can do this
Milestone
Actual: "An export assignment cannot be used in a namespace."
Expected: "A default export can only be used in an ECMAScript-style module."
The text was updated successfully, but these errors were encountered: