Deploy v0.89

Reviewed By: jbrown215

Differential Revision: D13457087

fbshipit-source-id: 9f01371ae3515990c5595f1eb2361174050066b8
This commit is contained in:
glevi@fb.com
2018-12-14 13:54:52 -08:00
committed by Facebook Github Bot
parent ac30f64ae5
commit 24f8d4d3db
26 changed files with 247 additions and 30 deletions

View File

@@ -258,7 +258,6 @@ let Image = (
);
};
// $FlowFixMe - TODO T29156721 `React.forwardRef` is not defined in Flow, yet.
Image = React.forwardRef(Image);
/**
@@ -266,6 +265,9 @@ Image = React.forwardRef(Image);
*
* See https://facebook.github.io/react-native/docs/image.html#getsize
*/
/* $FlowFixMe(>=0.89.0 site=react_native_android_fb) This comment suppresses an
* error found when Flow v0.89 was deployed. To see the error, delete this
* comment and run Flow. */
Image.getSize = getSize;
/**
@@ -274,6 +276,9 @@ Image.getSize = getSize;
*
* See https://facebook.github.io/react-native/docs/image.html#prefetch
*/
/* $FlowFixMe(>=0.89.0 site=react_native_android_fb) This comment suppresses an
* error found when Flow v0.89 was deployed. To see the error, delete this
* comment and run Flow. */
Image.prefetch = prefetch;
/**
@@ -281,6 +286,9 @@ Image.prefetch = prefetch;
*
* See https://facebook.github.io/react-native/docs/image.html#abortprefetch
*/
/* $FlowFixMe(>=0.89.0 site=react_native_android_fb) This comment suppresses an
* error found when Flow v0.89 was deployed. To see the error, delete this
* comment and run Flow. */
Image.abortPrefetch = abortPrefetch;
/**
@@ -288,6 +296,9 @@ Image.abortPrefetch = abortPrefetch;
*
* See https://facebook.github.io/react-native/docs/image.html#querycache
*/
/* $FlowFixMe(>=0.89.0 site=react_native_android_fb) This comment suppresses an
* error found when Flow v0.89 was deployed. To see the error, delete this
* comment and run Flow. */
Image.queryCache = queryCache;
/**
@@ -295,8 +306,14 @@ Image.queryCache = queryCache;
*
* See https://facebook.github.io/react-native/docs/image.html#resolveassetsource
*/
/* $FlowFixMe(>=0.89.0 site=react_native_android_fb) This comment suppresses an
* error found when Flow v0.89 was deployed. To see the error, delete this
* comment and run Flow. */
Image.resolveAssetSource = resolveAssetSource;
/* $FlowFixMe(>=0.89.0 site=react_native_android_fb) This comment suppresses an
* error found when Flow v0.89 was deployed. To see the error, delete this
* comment and run Flow. */
Image.propTypes = ImageProps;
const styles = StyleSheet.create({
@@ -305,4 +322,7 @@ const styles = StyleSheet.create({
},
});
/* $FlowFixMe(>=0.89.0 site=react_native_android_fb) This comment suppresses an
* error found when Flow v0.89 was deployed. To see the error, delete this
* comment and run Flow. */
module.exports = (Image: Class<ImageComponentType>);