Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Description
Suggested Changes
I'm trying to reproduce this in the playground:
constfoo=newMap<string,string>();letbar:string;for(const[key,value]offoo.entries()){bar=value;// "@typescript-eslint/no-unsafe-argument"}
However, TS tells me that:
Type 'IterableIterator<[string, string]>' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators.(2569)
This is probably because the target is set to the defaultES3
in the playground. There's no way for me to either settarget
or enabledownlevelIteration
...