Deploy Flow v0.85 to xplat/js

Reviewed By: fishythefish

Differential Revision: D12898653

fbshipit-source-id: 2ed11ce569600fe4c12528939a350dd827c9a29a
This commit is contained in:
Sam Goldman
2018-11-02 00:28:28 -07:00
committed by Facebook Github Bot
parent 04ea9762e2
commit adc8a33fcf
24 changed files with 76 additions and 17 deletions
+3
View File
@@ -42,6 +42,9 @@ class ProgressViewExample extends React.Component<Props, State> {
this._rafId = requestAnimationFrame(() => this.updateProgress());
};
/* $FlowFixMe(>=0.85.0 site=react_native_fb) This comment suppresses an error
* found when Flow v0.85 was deployed. To see the error, delete this comment
* and run Flow. */
getProgress = offset => {
const progress = this.state.progress + offset;
return Math.sin(progress % Math.PI) % 1;