diff --git a/Libraries/Image/ImageBackground.js b/Libraries/Image/ImageBackground.js index 95d2b688a35006..405bced59ce254 100644 --- a/Libraries/Image/ImageBackground.js +++ b/Libraries/Image/ImageBackground.js @@ -17,8 +17,6 @@ const View = require('View'); const ensureComponentIsNative = require('ensureComponentIsNative'); -import type {NativeMethodsMixinType} from 'ReactNativeTypes'; - /** * Very simple drop-in replacement for which supports nesting views. * @@ -53,7 +51,7 @@ class ImageBackground extends React.Component<$FlowFixMeProps> { } } - _viewRef: ?NativeMethodsMixinType = null; + _viewRef: ?React.ElementRef = null; _captureRef = ref => { this._viewRef = ref;