Skip to content
Snippets Groups Projects
Unverified Commit 5c5dda83 authored by Sam Zhou's avatar Sam Zhou Committed by GitHub
Browse files

[flow] Replace $PropertyType with indexed access type in ReactNativeTypes

Replace these deprecated types to prepare for removal of support in Flow.
parent e5f275e7
No related merge requests found
......@@ -83,8 +83,8 @@ export type ViewConfig = $ReadOnly<{
}>;
export type PartialViewConfig = $ReadOnly<{
bubblingEventTypes?: $PropertyType<ViewConfig, 'bubblingEventTypes'>,
directEventTypes?: $PropertyType<ViewConfig, 'directEventTypes'>,
bubblingEventTypes?: ViewConfig['bubblingEventTypes'],
directEventTypes?: ViewConfig['directEventTypes'],
supportsRawText?: boolean,
uiViewClassName: string,
validAttributes?: PartialAttributeConfiguration,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment