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

@@ -116,6 +116,6 @@ export interface Spec extends TurboModule {
+promiseAssert: () => Promise<void>;
}
export default (TurboModuleRegistry.get<Spec>(
export default TurboModuleRegistry.get<Spec>(
'NativeCxxModuleExampleCxx',
): ?Spec);
) as ?Spec;