Complete support for ES6 modules - #2197
Merged
Merged
Conversation
Export assignments are now equivalent to export of member named "default" Export assignments and exports defaults collected by binder Export * declarations collected by binder Simplified logic for marking import symbols as referenced Removed "location" parameter from resolveEntityName Improved error position reporting in resolveEntityName
This PR completes support for ES6 modules (started in #1983). It adds support for
export default classandexport default functiondeclarations and implements a common model for ES6 modules and TypeScript external modules.