https://linear.app/comm/issue/ENG-10205/update-flow-to-02691
I simplified this type and there is a little difference after this change but it shouldn't affect us.
Depends on D15025
Differential D15026 Authored by angelika on Jul 22 2025, 2:23 AM.
Details
Summary https://linear.app/comm/issue/ENG-10205/update-flow-to-02691 I simplified this type and there is a little difference after this change but it shouldn't affect us. Depends on D15025 Test Plan Flow
Diff Detail
Event Timelineangelika held this revision as a draft. Herald added subscribers: tomek, ashoat. · View Herald TranscriptJul 22 2025, 2:23 AM2025-07-22 02:23:29 (UTC+0) angelika added a child revision: D15027: [Flow262][skip-ci] Remove %checks.Jul 22 2025, 2:25 AM2025-07-22 02:25:27 (UTC+0) Harbormaster completed remote builds in B34677: Diff 48876.Jul 22 2025, 2:27 AM2025-07-22 02:27:41 (UTC+0) Harbormaster completed remote builds in B34873: Diff 49080.Jul 24 2025, 4:24 PM2025-07-24 16:24:01 (UTC+0) This revision is now accepted and ready to land.Jul 29 2025, 3:44 PM2025-07-29 15:44:49 (UTC+0) Comment Actions What is the difference after the change? It seems like some functionality is being lost here. Please explain this in detail This revision now requires changes to proceed.Jul 30 2025, 8:42 PM2025-07-30 20:42:25 (UTC+0) Harbormaster completed remote builds in B35140: Diff 49391.Aug 9 2025, 12:22 PM2025-08-09 12:22:47 (UTC+0) Comment Actions Changed so there are less changes now. The change is necessary because there are errors like this: Cannot call navigate because: [incompatible-call]
• Either object literal [1] is incompatible with string literal NUXTipOverlayBackdrop [2].
• Or property params is missing in object type [3] but exists in object literal [1].
components/directory-prompt-bottom-sheet.react.js
67│ }, [communities, goBack, navigate]);
68│
69│ const onCloseOrPressDecline = React.useCallback(() => {
[2][1] 70│ navigate<'NUXTipOverlayBackdrop'>({
71│ name: NUXTipOverlayBackdropRouteName,
72│ params: {
73│ orderedTips,
74│ },
75│ });
flow-typed/npm/@react-navigation/core_v6.x.x.js
[3] 815│ | {| +name: DestinationRouteName, +key?: string |},and it looks like $IsUndefined returns ParamList[DestinationRouteName] is undefined even though it isn't, I don't know why though. This revision is now accepted and ready to land.Aug 13 2025, 7:52 AM2025-08-13 07:52:49 (UTC+0) Harbormaster completed remote builds in B35406: Diff 49695.Aug 21 2025, 12:45 PM2025-08-21 12:45:33 (UTC+0) Closed by commit rCOMM1c0b6b1af02b: [Flow262][skip-ci] navigation.navigate type. · Explain WhyAug 21 2025, 7:32 PM2025-08-21 19:32:32 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 49695 |