File tree Expand file tree Collapse file tree 9 files changed +16
-9
lines changed
Components/AccessibilityInfo Expand file tree Collapse file tree 9 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -70,4 +70,4 @@ untyped-import
70
70
untyped-type-import
71
71
72
72
[version]
73
- ^0.135 .0
73
+ ^0.136 .0
Original file line number Diff line number Diff line change @@ -70,4 +70,4 @@ untyped-import
70
70
untyped-type-import
71
71
72
72
[version]
73
- ^0.135 .0
73
+ ^0.136 .0
Original file line number Diff line number Diff line change @@ -113,18 +113,21 @@ const AccessibilityInfo = {
113
113
) ;
114
114
}
115
115
116
+ // $FlowFixMe[escaped-generic]
116
117
_subscriptions . set ( handler , listener ) ;
117
118
} ,
118
119
119
120
removeEventListener : function < T > (
120
121
eventName : ChangeEventName ,
121
122
handler : T ,
122
123
) : void {
124
+ // $FlowFixMe[escaped-generic]
123
125
const listener = _subscriptions . get ( handler ) ;
124
126
if ( ! listener ) {
125
127
return;
126
128
}
127
129
listener . remove ( ) ;
130
+ // $FlowFixMe[escaped-generic]
128
131
_subscriptions . delete ( handler ) ;
129
132
} ,
130
133
Original file line number Diff line number Diff line change @@ -217,6 +217,7 @@ const AccessibilityInfo = {
217
217
listener = RCTDeviceEventEmitter . addListener ( eventName , handler ) ;
218
218
}
219
219
220
+ // $FlowFixMe[escaped-generic]
220
221
_subscriptions . set ( handler , listener ) ;
221
222
return {
222
223
remove : AccessibilityInfo . removeEventListener . bind (
@@ -258,11 +259,13 @@ const AccessibilityInfo = {
258
259
eventName: ChangeEventName,
259
260
handler: T,
260
261
): void {
262
+ // $FlowFixMe[escaped-generic]
261
263
const listener = _subscriptions . get ( handler ) ;
262
264
if ( ! listener ) {
263
265
return;
264
266
}
265
267
listener . remove ( ) ;
268
+ // $FlowFixMe[escaped-generic]
266
269
_subscriptions . delete ( handler ) ;
267
270
} ,
268
271
} ;
Original file line number Diff line number Diff line change @@ -466,6 +466,7 @@ module.exports = {
466
466
*
467
467
* [Styles](docs/style.html)
468
468
*/
469
+ // $FlowFixMe[incompatible-use]
469
470
style : Text . propTypes . style ,
470
471
/**
471
472
* The color of the `TextInput` underline.
Original file line number Diff line number Diff line change 116
116
"ws" : " ^6.1.4"
117
117
},
118
118
"devDependencies" : {
119
- "flow-bin" : " ^0.135 .0" ,
119
+ "flow-bin" : " ^0.136 .0" ,
120
120
"react" : " 16.13.1"
121
121
},
122
122
"detox" : {
Original file line number Diff line number Diff line change 33
33
"eslint-plugin-react-hooks" : " ^4.0.7" ,
34
34
"eslint-plugin-react-native" : " 3.8.1" ,
35
35
"eslint-plugin-relay" : " 1.7.1" ,
36
- "flow-bin" : " ^0.135 .0" ,
36
+ "flow-bin" : " ^0.136 .0" ,
37
37
"jest" : " ^26.5.2" ,
38
38
"jest-junit" : " ^10.0.0" ,
39
39
"jscodeshift" : " ^0.11.0" ,
Original file line number Diff line number Diff line change @@ -63,4 +63,4 @@ untyped-import
63
63
untyped-type-import
64
64
65
65
[version]
66
- ^0.135 .0
66
+ ^0.136 .0
Original file line number Diff line number Diff line change @@ -3056,10 +3056,10 @@ flatted@^2.0.0:
3056
3056
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138"
3057
3057
integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==
3058
3058
3059
- flow-bin@^0.135 .0 :
3060
- version "0.135 .0"
3061
- resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.135 .0.tgz#70bcd7bae0231777dd05cc8707ff34b37824bbad "
3062
- integrity sha512-E0JIKWopjULE/fl1X+j7rh0zgcgD5nubLs3HWYeYPo+nWFy8dALvrQbFcCFoPePrkhY/fffhN28t8P1zBxB2Yg ==
3059
+ flow-bin@^0.136 .0 :
3060
+ version "0.136 .0"
3061
+ resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.136 .0.tgz#2c1be64496d791ea3160047ce22968ef166835f1 "
3062
+ integrity sha512-Z0sycQDyWXiNsGAhOBUrvHPzz7Q4g38BT57+YzZGffbaBmWRNC6MGZb+R6XTzeWb30bZin5V21nPQZezJzm9cQ ==
3063
3063
3064
3064
flow-parser@0.*, flow-parser@^0.121.0 :
3065
3065
version "0.121.0"
You can’t perform that action at this time.
0 commit comments