Change all remaining flow legacy casting syntax to modern one (#56259)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56259

Change all remaining flow legacy casting syntax to modern one.

Changelog: [Internal]

Reviewed By: panagosg7

Differential Revision: D98565441

fbshipit-source-id: 39b64397689d1ce05647d6a029b7c903fff1a1f6
This commit is contained in:
Sam Zhou authored and meta-codesync[bot] committed 2026-03-27 17:58:15 -07:00
1 parent 9db1d137e4
commit d0a1efbec3
320 files changed
+1289 -1282

No files matched your search

@@ -96,7 +96,7 @@ export default class SettingsStore {
const data = fs.readFileSync(this.path, 'utf8');
const deserializedData = this._deserialize(data);
return {
...((deserializedData: any): {[string]: unknown}),
...(deserializedData as any as {[string]: unknown}),
};
} catch (error) {
if (error?.code === 'ENOENT') {