⚙ Compilation target
ESNext
⚙ Library
n/a
Missing / Incorrect Definition
IterableIterator should have map/filter/etc.
Sample Code
// Tested in both Node 22 and latest Edgeconstm=newMap([[1,2],[3,4]]);constkeys=m.keys();// IterableIterator<number>constiter=keys.map(n=>n*100);// Property 'map' does not exist on type 'IterableIterator<number>'.ts(2339)constval=iter.next();console.log(val);// {value: 100, done: false}Documentation Link
⚙ Compilation target
ESNext
⚙ Library
n/a
Missing / Incorrect Definition
IterableIterator should have map/filter/etc.
Sample Code
Documentation Link