HomePhabricator
Diffusion Comm 2e99d796407b

[Flow202][keyserver][skip-ci] [18/x] Fix Flow issues with baseGetENSNames.bind

Description

[Flow202][keyserver][skip-ci] [18/x] Fix Flow issues with baseGetENSNames.bind

Summary:
This is the keyserver equivalent of D9696. 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 D9866

Test Plan: Confirm the Flow errors go away

Reviewers: atul

Reviewed By: atul

Subscribers: tomek

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