facebook / facebook/flow

Flow do not find map property in Proxy<Array<any>>

Open
#3,435 3 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
22.3k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

```
// @flow
let a = new Proxy([], {});
a.map(i => i);
```
This gives the following errors:
```
3: g.map(i => i);
^^^ property `map`. Property not found in
3: g.map(i => i);
^ Proxy
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.