From 4e61a08d6bb4b2f111fe94cbdf02815c67cd1702 Mon Sep 17 00:00:00 2001 From: Ryoga Kitagawa Date: Sat, 17 Aug 2019 08:59:33 +0900 Subject: [PATCH] More generics flatten. (#37398) --- types/react-native/index.d.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index d945df7a32..ed29b8699e 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -5427,10 +5427,7 @@ export namespace StyleSheet { * their respective objects, merged as one and then returned. This also explains * the alternative use. */ - export function flatten(style?: RegisteredStyle): T; - export function flatten(style?: StyleProp): TextStyle; - export function flatten(style?: StyleProp): ImageStyle; - export function flatten(style?: StyleProp): ViewStyle; + export function flatten(style?: StyleProp): T; /** * WARNING: EXPERIMENTAL. Breaking changes will probably happen a lot and will