Fix component type references in xplat (#37903)

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

The name "component" in a function type contexts will be banned in future versions of Flow (the same other keywords like typeof are today). This diff renames the offending usages in xplat files.

Changelog: [Internal]

Reviewed By: gkz

Differential Revision: D46748791

fbshipit-source-id: b8a51f63faad3b85232bd17a4bbe6ee7b0e4120f
This commit is contained in:
Pieter Vanderwerff
2023-06-14 21:18:55 -07:00
committed by Facebook GitHub Bot
parent 8c9e37561f
commit 894b62ce90
+1 -1
View File
@@ -31,7 +31,7 @@ type TaskCancelProvider = () => TaskCanceller;
export type ComponentProvider = () => React$ComponentType<any>;
export type ComponentProviderInstrumentationHook = (
component: ComponentProvider,
component_: ComponentProvider,
scopedPerformanceLogger: IPerformanceLogger,
) => React$ComponentType<any>;
export type AppConfig = {