@@ -62,13 +62,21 @@ class Easing {
62
62
/**
63
63
* A stepping function, returns 1 for any positive value of `n`.
64
64
*/
65
+ /* $FlowFixMe(>=0.59.0 site=react_native_fb) This comment suppresses an error
66
+ * caught by Flow 0.59 which was not caught before. Most likely, this error
67
+ * is because an exported function parameter is missing an annotation.
68
+ * Without an annotation, these parameters are uncovered by Flow. */
65
69
static step0 ( n ) {
66
70
return n > 0 ? 1 : 0 ;
67
71
}
68
72
69
73
/**
70
74
* A stepping function, returns 1 if `n` is greater than or equal to 1.
71
75
*/
76
+ /* $FlowFixMe(>=0.59.0 site=react_native_fb) This comment suppresses an error
77
+ * caught by Flow 0.59 which was not caught before. Most likely, this error
78
+ * is because an exported function parameter is missing an annotation.
79
+ * Without an annotation, these parameters are uncovered by Flow. */
72
80
static step1 ( n ) {
73
81
return n >= 1 ? 1 : 0 ;
74
82
}
@@ -79,6 +87,10 @@ class Easing {
79
87
*
80
88
* http://cubic-bezier.com/#0,0,1,1
81
89
*/
90
+ /* $FlowFixMe(>=0.59.0 site=react_native_fb) This comment suppresses an error
91
+ * caught by Flow 0.59 which was not caught before. Most likely, this error
92
+ * is because an exported function parameter is missing an annotation.
93
+ * Without an annotation, these parameters are uncovered by Flow. */
82
94
static linear ( t ) {
83
95
return t ;
84
96
}
@@ -102,6 +114,10 @@ class Easing {
102
114
*
103
115
* http://easings.net/#easeInQuad
104
116
*/
117
+ /* $FlowFixMe(>=0.59.0 site=react_native_fb) This comment suppresses an error
118
+ * caught by Flow 0.59 which was not caught before. Most likely, this error
119
+ * is because an exported function parameter is missing an annotation.
120
+ * Without an annotation, these parameters are uncovered by Flow. */
105
121
static quad ( t ) {
106
122
return t * t ;
107
123
}
@@ -112,6 +128,10 @@ class Easing {
112
128
*
113
129
* http://easings.net/#easeInCubic
114
130
*/
131
+ /* $FlowFixMe(>=0.59.0 site=react_native_fb) This comment suppresses an error
132
+ * caught by Flow 0.59 which was not caught before. Most likely, this error
133
+ * is because an exported function parameter is missing an annotation.
134
+ * Without an annotation, these parameters are uncovered by Flow. */
115
135
static cubic ( t ) {
116
136
return t * t * t ;
117
137
}
@@ -122,7 +142,16 @@ class Easing {
122
142
* n = 4: http://easings.net/#easeInQuart
123
143
* n = 5: http://easings.net/#easeInQuint
124
144
*/
145
+ /* $FlowFixMe(>=0.59.0 site=react_native_fb) This comment suppresses an error
146
+ * caught by Flow 0.59 which was not caught before. Most likely, this error
147
+ * is because an exported function parameter is missing an annotation.
148
+ * Without an annotation, these parameters are uncovered by Flow. */
125
149
static poly ( n ) {
150
+ /* $FlowFixMe(>=0.59.0 site=react_native_fb) This comment suppresses an
151
+ * error caught by Flow 0.59 which was not caught before. Most likely, this
152
+ * error is because an exported function parameter is missing an
153
+ * annotation. Without an annotation, these parameters are uncovered by
154
+ * Flow. */
126
155
return ( t ) => Math . pow ( t , n ) ;
127
156
}
128
157
@@ -131,6 +160,10 @@ class Easing {
131
160
*
132
161
* http://easings.net/#easeInSine
133
162
*/
163
+ /* $FlowFixMe(>=0.59.0 site=react_native_fb) This comment suppresses an error
164
+ * caught by Flow 0.59 which was not caught before. Most likely, this error
165
+ * is because an exported function parameter is missing an annotation.
166
+ * Without an annotation, these parameters are uncovered by Flow. */
134
167
static sin ( t ) {
135
168
return 1 - Math . cos ( t * Math . PI / 2 ) ;
136
169
}
@@ -140,6 +173,10 @@ class Easing {
140
173
*
141
174
* http://easings.net/#easeInCirc
142
175
*/
176
+ /* $FlowFixMe(>=0.59.0 site=react_native_fb) This comment suppresses an error
177
+ * caught by Flow 0.59 which was not caught before. Most likely, this error
178
+ * is because an exported function parameter is missing an annotation.
179
+ * Without an annotation, these parameters are uncovered by Flow. */
143
180
static circle ( t ) {
144
181
return 1 - Math . sqrt ( 1 - t * t ) ;
145
182
}
@@ -149,6 +186,10 @@ class Easing {
149
186
*
150
187
* http://easings.net/#easeInExpo
151
188
*/
189
+ /* $FlowFixMe(>=0.59.0 site=react_native_fb) This comment suppresses an error
190
+ * caught by Flow 0.59 which was not caught before. Most likely, this error
191
+ * is because an exported function parameter is missing an annotation.
192
+ * Without an annotation, these parameters are uncovered by Flow. */
152
193
static exp ( t ) {
153
194
return Math . pow ( 2 , 10 * ( t - 1 ) ) ;
154
195
}
0 commit comments