KEMBAR78
Complete support for ES6 modules by ahejlsberg · Pull Request #2197 · microsoft/TypeScript · GitHub
Skip to content

Conversation

@ahejlsberg
Copy link
Member

This PR completes support for ES6 modules (started in #1983). It adds support for export default class and export default function declarations and implements a common model for ES6 modules and TypeScript external modules.

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
Conflicts:
	src/compiler/checker.ts
	tests/baselines/reference/contextualTyping.js.map
	tests/baselines/reference/contextualTyping.sourcemap.txt
	tests/baselines/reference/out-flag.js.map
	tests/baselines/reference/properties.js.map
	tests/baselines/reference/recursiveClassReferenceTest.js.map
	tests/baselines/reference/sourceMap-FileWithComments.js.map
	tests/baselines/reference/sourceMap-FileWithComments.sourcemap.txt
	tests/baselines/reference/typeResolution.js.map
Conflicts:
	tests/baselines/reference/exportAssignDottedName.errors.txt
ahejlsberg added a commit that referenced this pull request Mar 7, 2015
Complete support for ES6 modules
@ahejlsberg ahejlsberg merged commit 865f67e into master Mar 7, 2015
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants