Both typings for flow and typescript returns an iterable when calling method inherited from iterable
Reproduced with Immutablejs v3.8.1 and flow 0.37.4
also reproduced for List on typescript
{
"resolution": "main",
"tree": {
"src": "https://raw.githubusercontent.com/alitaheri/immutable-unambient/3e5ef14e1677e2db90770b8263be889b71c4d444/typings.json",
"raw": "registry:npm/immutable#3.7.6+20160411060006",
"main": "immutable.d.ts",
"version": "3.7.6",
"name": "immutable"
}
}
Fixed in the next upcoming version!
Most helpful comment
Fixed in the next upcoming version!