Skip to content

Commit b59f186

Browse files
authored
[flow] Replace $PropertyType with indexed access type in ReactNativeTypes (#32733)
1 parent e5f275e commit b59f186

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: packages/react-native-renderer/src/ReactNativeTypes.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ export type ViewConfig = $ReadOnly<{
8383
}>;
8484

8585
export type PartialViewConfig = $ReadOnly<{
86-
bubblingEventTypes?: $PropertyType<ViewConfig, 'bubblingEventTypes'>,
87-
directEventTypes?: $PropertyType<ViewConfig, 'directEventTypes'>,
86+
bubblingEventTypes?: ViewConfig['bubblingEventTypes'],
87+
directEventTypes?: ViewConfig['directEventTypes'],
8888
supportsRawText?: boolean,
8989
uiViewClassName: string,
9090
validAttributes?: PartialAttributeConfiguration,

0 commit comments

Comments
 (0)