Skip to content

Fix declaration file for default temp var name in declaration file during bundling#7813

Merged
sheetalkamat merged 2 commits into
masterfrom
exportDefaultAssignmentExpression
Apr 4, 2016
Merged

Fix declaration file for default temp var name in declaration file during bundling#7813
sheetalkamat merged 2 commits into
masterfrom
exportDefaultAssignmentExpression

Conversation

@sheetalkamat
Copy link
Copy Markdown
Member

Emit "declare" when emitting default temp var name in declaration file only if context allows it.
This fixes incorrect emit during bundling where declare was emitted because we didn't check this earlier.

Fixes #7807

@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Apr 4, 2016

👍

@sheetalkamat sheetalkamat merged commit 8b203ec into master Apr 4, 2016
@sheetalkamat sheetalkamat deleted the exportDefaultAssignmentExpression branch April 11, 2016 21:44
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 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.

Default export creates invalid declaration file

3 participants