HomePhabricator
Diffusion Comm 71ec09225f6d

[Flow202][lib][skip-ci] [4/23] Fix Flow issues with baseGetENSNames.bind

Description

[Flow202][lib][skip-ci] [4/23] Fix Flow issues with baseGetENSNames.bind

Summary:
Flow doesn't seem to like this construction anymore: https://gist.github.com/Ashoat/f5b3517c46331ecae6870d91cae7ddd2

I couldn't figure out a way to get rid of the type errors while keeping the bind call. Instead, I just decided to declare a new function.

NOTE: CI will fail on this diff. I considered the possibility of fixing Flow errors BEFORE upgrading Flow, but it wasn't possible... in some cases, the fixes to support the new version of Flow caused errors in the old version. I could have hidden these type errors with $FlowFixMe lines and then later revert those, but that seemed like too much busy work.

Depends on D9695

Test Plan: Confirm the Flow errors go away

Reviewers: atul

Reviewed By: atul

Subscribers: tomek, wyilio

Differential Revision: https://phab.comm.dev/D9696