Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript ES6 support #2076

Open
victors1682 opened this issue Oct 25, 2023 · 1 comment
Open

Typescript ES6 support #2076

victors1682 opened this issue Oct 25, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@victors1682
Copy link
Contributor

Describe the feature you'd like
I attempted to iterate through a map using ES6 syntax but had to resort to the older approach. Not urgent but nice to have.

error TS2802: Type 'Map<any, any>' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.

     for (let [key, values] of variantMap) {

"target": "es5",

@victors1682 victors1682 added the enhancement New feature or request label Oct 25, 2023
@gvc
Copy link
Contributor

gvc commented Oct 26, 2023

Thank you for the feedback. The team will look into this 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants