From c149a3f9aaa20752aedb5d945730bf7b7ebca404 Mon Sep 17 00:00:00 2001 From: THORBEN ANDRESEN Date: Tue, 14 Nov 2017 11:33:09 -0500 Subject: [PATCH] remove redundant union type for ItemSeparatorComponent --- types/react-native/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 2f35bedb14..4cb11b3ee7 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -3728,7 +3728,7 @@ export interface SectionListProperties extends ScrollViewProperties { /** * Rendered in between adjacent Items within each section. */ - ItemSeparatorComponent?: React.ComponentType | (() => React.ReactElement) | null + ItemSeparatorComponent?: React.ComponentType | null /** * Rendered when the list is empty.