Page MenuHomePhabricator

[Flow202][lib][skip-ci] [24/23] Fix Flow issues from Inka's recently landed diffs
ClosedPublic

Authored by ashoat on Nov 7 2023, 6:56 AM.
Tags
None
Referenced Files
F3552175: D9748.id33095.diff
Thu, Dec 26, 7:36 PM
Unknown Object (File)
Thu, Dec 26, 6:15 AM
Unknown Object (File)
Fri, Dec 20, 5:02 PM
Unknown Object (File)
Sun, Dec 15, 3:10 AM
Unknown Object (File)
Sat, Dec 14, 8:21 PM
Unknown Object (File)
Tue, Dec 10, 7:47 AM
Unknown Object (File)
Sat, Nov 30, 3:32 PM
Unknown Object (File)
Fri, Nov 29, 6:44 PM
Subscribers

Details

Summary

It's hard since you're not running the new Flow, but going forward would appreciate if you could try to make sure to type all collections in all diffs to avoid introducing new work for me.

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 D9721

Test Plan

Flow

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Nov 7 2023, 7:07 AM
Harbormaster failed remote builds in B23864: Diff 32892!
ashoat requested review of this revision.Nov 7 2023, 7:16 AM

Sure, I'll try to do that

This revision is now accepted and ready to land.Nov 7 2023, 7:35 AM

There's actually a lot more I have to do here after the most recently landed diffs

Updated to cover all diffs landed to master. Didn't end up being that hard actually

This revision is now accepted and ready to land.Nov 7 2023, 10:41 AM
lib/actions/device-actions.js
31

This is actually a type error because DeviceTokenUpdateRequest has +deviceToken: string, but the device token from DeviceTokens can be ?string (nullable). Fixed in D9751

54

This is actually a type error because DeviceTokenUpdateRequest has +deviceToken: string, but the device token from DeviceTokens can be ?string (nullable). Fixed in D9751

ashoat retitled this revision from [Flow202][lib] [24/23] Fix Flow issues from Inka's recently landed diffs to [Flow202][lib][skip-ci] [24/23] Fix Flow issues from Inka's recently landed diffs.
This revision was landed with ongoing or failed builds.Nov 27 2023, 3:25 PM
This revision was automatically updated to reflect the committed changes.