Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Add __read and __spread for ES5 downLevelIteration option #102

Closed
wants to merge 1 commit into from

Conversation

guybedford
Copy link

This is needed to get the full ES5 support for the Rollup TypeScript conversion, otherwise we will still be relying on native iterators.

This could possibly be behind a flag in the plugin, just let me know thoughts here.

@eventualbuddha
Copy link
Contributor

I rebased this after merging #103 so the AppVeyor tests wouldn't be sitting there all red making everyone sad.

As for the PR itself, I'm curious to know what fails without this. Could you add a test that would fail with the current release?

@guybedford
Copy link
Author

Thanks for the quick response Brian! To get this running requires updating to TypeScript 2 in this repo.

Also thinking a bit more about this though, I don't actually think it's necessary for Rollup. Comment here - rollup/rollup#1806 (comment).

@guybedford guybedford closed this Dec 23, 2017
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.

None yet

2 participants