From d12e4ba256dd80911ea21a63b828e48da16cd083 Mon Sep 17 00:00:00 2001 From: Bruno Lemos Date: Wed, 16 May 2018 01:30:49 -0300 Subject: [PATCH] [react-native] Image props should extend ImageStyle intead of ViewStyle --- 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 63f3157dfc..5fbc785e5a 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -3385,7 +3385,7 @@ export type ImageSourcePropType = ImageURISource | ImageURISource[] | ImageRequi /** * @see https://facebook.github.io/react-native/docs/image.html */ -export interface ImagePropsBase extends ImagePropsIOS, ImagePropsAndroid, AccessibilityProps, ViewStyle { +export interface ImagePropsBase extends ImagePropsIOS, ImagePropsAndroid, AccessibilityProps, ImageStyle { /** * onLayout function *