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
Unknown Object (File)
Tue, May 7, 8:18 AM
Unknown Object (File)
Thu, May 2, 3:06 PM
Unknown Object (File)
Wed, May 1, 11:15 PM
Unknown Object (File)
Wed, Apr 17, 6:29 PM
Unknown Object (File)
Tue, Apr 16, 6:01 PM
Unknown Object (File)
Tue, Apr 16, 5:58 PM
Unknown Object (File)
Mon, Apr 15, 8:53 PM
Unknown Object (File)
Apr 13 2024, 1:24 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
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #32915)

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 ↗(On Diff #32915)

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.