Page MenuHomePhabricator

[Flow202][web][skip-ci] [11/x] Fix Flow issues in selectors
ClosedPublic

Authored by ashoat on Nov 8 2023, 11:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 20, 2:56 PM
Unknown Object (File)
Fri, Dec 6, 3:40 AM
Unknown Object (File)
Fri, Nov 29, 11:46 AM
Unknown Object (File)
Tue, Nov 26, 5:54 PM
Unknown Object (File)
Nov 23 2024, 11:26 PM
Unknown Object (File)
Nov 22 2024, 10:08 PM
Unknown Object (File)
Nov 22 2024, 9:47 PM
Unknown Object (File)
Nov 22 2024, 5:37 PM
Subscribers

Details

Summary

Flow was printing errors because it was having trouble deducing the types for these selectors. Adding typehints solved the errors.

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 D9776

Test Plan

Confirm the Flow errors go away

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Nov 8 2023, 11:55 AM
Harbormaster failed remote builds in B23925: Diff 32963!
This revision is now accepted and ready to land.Nov 9 2023, 3:09 AM
ashoat retitled this revision from [Flow202][web] [11/x] Fix Flow issues in selectors to [Flow202][web][skip-ci] [11/x] Fix Flow issues in selectors.Nov 19 2023, 5:02 PM