Compiler gives unhelpful error messages in the presence of multiple default exports #3886
Labels
Bug
A bug in TypeScript
Fixed
A PR has been merged for this issue
Good First Issue
Well scoped, documented and has the green light
Help Wanted
You can do this
Milestone
In the above example, the error messages are:
foo
: "Duplicate identifier 'foo'."bar
: "Duplicate identifier 'bar'."export default x
: "Duplicate identifier 'default'."Then we have...
foo
: "Duplicate function implementation."bar
: "Duplicate function implementation."The text was updated successfully, but these errors were encountered: