Skip to content

Commit

Permalink
Remove usage of deprecated @flow weak in Xplat
Browse files Browse the repository at this point in the history
Summary:
This is the one usage of `flow weak` in Xplat - change it to normal `flow` and add a suppression where an error appears.

Changelog: [Internal]

Reviewed By: Hans-Halverson

Differential Revision: D24878970

fbshipit-source-id: 16e459c261b41e04de1555ed7ef4ecf2f5b3721e
  • Loading branch information
gkz authored and facebook-github-bot committed Nov 13, 2020
1 parent f1fbfeb commit 6a039d7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow weak
* @flow
*/

'use strict';
Expand Down Expand Up @@ -110,6 +110,7 @@ class PanResponderExample extends React.Component<Props, State> {
}}
style={[
styles.circle,
// $FlowFixMe[incompatible-type]
{
translateX: this.state.left,
translateY: this.state.top,
Expand Down

0 comments on commit 6a039d7

Please sign in to comment.