Skip to content

Fix #2929: relax the check for export= in ES6 if it is resulting from an ambient declaration#2935

Merged
mhegazy merged 1 commit into
masterfrom
relaxExportEqualsCheck
Apr 30, 2015
Merged

Fix #2929: relax the check for export= in ES6 if it is resulting from an ambient declaration#2935
mhegazy merged 1 commit into
masterfrom
relaxExportEqualsCheck

Conversation

@mhegazy
Copy link
Copy Markdown
Contributor

@mhegazy mhegazy commented Apr 27, 2015

export = is an error in ES6 and system module outputs as there is no way to emit it correctly. There is no reason why to make this an error for ambient declarations though.
The change allows the use of export= in ambient declarations.

@mhegazy
Copy link
Copy Markdown
Contributor Author

mhegazy commented Apr 30, 2015

got verbal sign off from @vladima

mhegazy added a commit that referenced this pull request Apr 30, 2015
Fix #2929: relax the check for export= in ES6 if it is resulting from an ambient declaration
@mhegazy mhegazy merged commit 64f3798 into master Apr 30, 2015
@mhegazy mhegazy deleted the relaxExportEqualsCheck branch April 30, 2015 00:26
@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.

2 participants