HomePhabricator
Diffusion Comm 92b44cb5227f

[Flow202][web][skip-ci] [18/x] Fix Flow issues in AddUsersList

Description

[Flow202][web][skip-ci] [18/x] Fix Flow issues in AddUsersList

Summary:
The new version of Flow does not want us to lookup undefined in a Map whose keys are not typed to include void. To avoid doing this, I check the key before looking it up.

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 D9783

Test Plan: Confirm the Flow errors go away

Reviewers: tomek

Reviewed By: tomek

Subscribers: wyilio

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

Details

Provenance
ashoatAuthored on Nov 8 2023, 11:05 AM
Reviewer
tomek
Differential Revision
D9784: [Flow202][web][skip-ci] [18/x] Fix Flow issues in AddUsersList
Parents
rCOMM18f429c3227c: [Flow202][web][skip-ci] [17/x] Fix Flow issues in commReduxStorageEngine
Branches
Unknown
Tags
Unknown