diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 5fbc785e5a..bb4c163ac5 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -3494,6 +3494,14 @@ export interface ImagePropsBase extends ImagePropsIOS, ImagePropsAndroid, Access * A unique identifier for this element to be used in UI Automation testing scripts. */ testID?: string; + + /** + * Currently broken + * @see https://github.com/facebook/react-native/pull/19281 + */ + width?: never, + height?: never, + tintColor?: never, } export interface ImageProps extends ImagePropsBase { diff --git a/types/react-native/test/index.tsx b/types/react-native/test/index.tsx index f51c041b8c..b3487057ed 100644 --- a/types/react-native/test/index.tsx +++ b/types/react-native/test/index.tsx @@ -471,12 +471,13 @@ class StylePropsTest extends React.PureComponent { );