Skip to content

Ensure that we continue recursing into TS transforms#19650

Merged
mhegazy merged 2 commits into
microsoft:masterfrom
kriszyp:fix-ts-transform-after-custom-transform
Nov 2, 2017
Merged

Ensure that we continue recursing into TS transforms#19650
mhegazy merged 2 commits into
microsoft:masterfrom
kriszyp:fix-ts-transform-after-custom-transform

Conversation

@kriszyp
Copy link
Copy Markdown
Contributor

@kriszyp kriszyp commented Nov 1, 2017

Ensures that we continue recursing into TS transforms when avoiding export elliding for transformed nodes. This fixes #19649 .

@msftclas
Copy link
Copy Markdown

msftclas commented Nov 1, 2017

CLA assistant check
All CLA requirements met.

kriszyp referenced this pull request Nov 1, 2017
* Failing test for missing transform output

* dont elide all export stars

* Remove comment from test

* Refuse to perform ellision on transformed nodes
@weswigham
Copy link
Copy Markdown
Member

@kriszyp Hope you don't mind, I've pushed a more precise fix to your branch. visitorWorker worked, but was going to fail when the debug verbosity was turned up, as an ExportAssignment isn't handled in visitTypeScript.

@weswigham weswigham requested a review from mhegazy November 1, 2017 18:34
@weswigham
Copy link
Copy Markdown
Member

@mhegazy Could you add a review?

@mhegazy mhegazy merged commit c557131 into microsoft:master Nov 2, 2017
@mhegazy
Copy link
Copy Markdown
Contributor

mhegazy commented Nov 2, 2017

thanks!

@kriszyp
Copy link
Copy Markdown
Contributor Author

kriszyp commented Nov 29, 2017

Any chance that this could be included in the next point release? (Our project doesn't compile at all without this).

@microsoft microsoft locked and limited conversation to collaborators Jun 14, 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.

export default expressions do not have type annotations removed after a before/custom transformer

4 participants