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