@samitouri / QOS-React / commits / b59f186011

[flow] Replace $PropertyType with indexed access type in ReactNativeTypes (#32733)

Sam Zhou committed Mar 24, 2025 at 23:00 UTC b59f18601179bb06a2c32a76547fd4929aa1ce9c
1 file changed +2 -2
packages/react-native-renderer/src/ReactNativeTypes.js
+2 -2
@@ -83,8 +83,8 @@ export type ViewConfig = $ReadOnly<{
83 }>;
84
85 export type PartialViewConfig = $ReadOnly<{
86 - bubblingEventTypes?: $PropertyType<ViewConfig, 'bubblingEventTypes'>,
87 - directEventTypes?: $PropertyType<ViewConfig, 'directEventTypes'>,
86 + bubblingEventTypes?: ViewConfig['bubblingEventTypes'],
87 + directEventTypes?: ViewConfig['directEventTypes'],
88 supportsRawText?: boolean,
89 uiViewClassName: string,
90 validAttributes?: PartialAttributeConfiguration,