A framework for building native applications using React
Pre-suppress unsafe string key access errors in xplat/js (#44221)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/44221
This diff pre-suppresses errors of the following pattern, to prepare for the next Flow release.
```
declare const obj: {foo: string};
declare const key: string;
obj[key]; // error: invalid-computed-prop
```
Changelog: [Internal]
Reviewed By: alexmckenley
Differential Revision: D56477899
fbshipit-source-id: 5676b8685bd3157a519fe433cfce0fa28e003502 S
Sam Zhou committed
41f525ccaed4ac570d23e2bdb3cbdeca85111e8a
Parent: 4928f44
Committed by Facebook GitHub Bot <[email protected]>
on 4/23/2024, 6:36:14 PM