HomePhabricator
Diffusion Comm 76af95c35305

[lib][native][web] Make Flow types for Redux state read-only

Description

[lib][native][web] Make Flow types for Redux state read-only

Summary:
This probably should've been done a long time ago. Best practice is to modernize a Flow type whenever you touch it, but evidently people were too intimidated to try and modernize BaseAppState and its various related types.

I went ahead and did this. It looks like it went well, with no new Flow errors.

Test Plan: Flow

Reviewers: inka, michal, patryk

Reviewed By: inka

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D8685

Details

Provenance
ashoatAuthored on Jul 31 2023, 11:03 AM
Reviewer
inka
Differential Revision
D8685: [lib][native][web] Make Flow types for Redux state read-only
Parents
rCOMM133aed97d2c6: Remove check for even code version when deciding on rescind payload structure
Branches
Unknown
Tags
Unknown