https://linear.app/comm/issue/ENG-10205/update-flow-to-02691
v0.266.0: Support for $PropertyType and $ElementType has been removed.
Replaced by index access.
Depends on D15107
Differential D15108 Authored by angelika on Jul 24 2025, 7:38 AM.
Details
Summary https://linear.app/comm/issue/ENG-10205/update-flow-to-02691 v0.266.0: Support for $PropertyType and $ElementType has been removed. Depends on D15107 Test Plan Flow
Diff Detail
Event Timelineangelika held this revision as a draft. Herald added subscribers: tomek, ashoat. · View Herald TranscriptJul 24 2025, 7:38 AM2025-07-24 07:38:36 (UTC+0) Harbormaster completed remote builds in B34767: Diff 48972.Jul 24 2025, 7:41 AM2025-07-24 07:41:11 (UTC+0) Harbormaster completed remote builds in B34951: Diff 49158.Jul 24 2025, 4:31 PM2025-07-24 16:31:56 (UTC+0) Comment Actions According to the docs https://flow.org/en/docs/types/indexed-access/
Are we doing it in this stack? This revision is now accepted and ready to land.Aug 4 2025, 3:33 PM2025-08-04 15:33:36 (UTC+0) Harbormaster completed remote builds in B35216: Diff 49467.Aug 9 2025, 12:35 PM2025-08-09 12:35:41 (UTC+0) Comment Actions
No, but we don't need to. The rule was introduced only in order to autofix the issues and I preferred to use search&replace. If we use $ElementType or $PropertyType now, Flow will throw an error, so we don't need additional eslint rule. Harbormaster completed remote builds in B35482: Diff 49771.Aug 21 2025, 12:58 PM2025-08-21 12:58:26 (UTC+0) Closed by commit rCOMM196de7a70791: [Flow269][skip-ci] Migrate from $PropertyType. · Explain WhyAug 21 2025, 7:34 PM2025-08-21 19:34:42 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 49947 |