Skip to content
This repository was archived by the owner on Oct 21, 2021. It is now read-only.

Remove syntax transformations in module output #10

Merged
merged 1 commit into from
Mar 26, 2020

Conversation

dgraham
Copy link
Contributor

@dgraham dgraham commented Mar 26, 2020

We're inadvertently transforming the class and for…of syntax in the module output file. Browsers that support modules also support this syntax, so just strip Flow types during compilation.

We're inadvertently transforming the `class` and `for…of` syntax in the
module output file. Browsers that support modules also support this
syntax, so just strip Flow types during compilation.
@dgraham dgraham requested a review from a team March 26, 2020 22:45
@dgraham dgraham merged commit e18d9a1 into master Mar 26, 2020
@dgraham dgraham deleted the remove-syntax-transforms branch March 26, 2020 23:11
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