mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
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:
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;
|
||||
Reference in new issue
Block a user