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
7070untyped-type-import
7171
7272[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
7070untyped-type-import
7171
7272[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 = {
113113 ) ;
114114 }
115115
116+ // $FlowFixMe[escaped-generic]
116117 _subscriptions . set ( handler , listener ) ;
117118 } ,
118119
119120 removeEventListener : function < T > (
120121 eventName : ChangeEventName ,
121122 handler : T ,
122123 ) : void {
124+ // $FlowFixMe[escaped-generic]
123125 const listener = _subscriptions . get ( handler ) ;
124126 if ( ! listener ) {
125127 return;
126128 }
127129 listener . remove ( ) ;
130+ // $FlowFixMe[escaped-generic]
128131 _subscriptions . delete ( handler ) ;
129132 } ,
130133
Original file line number Diff line number Diff line change @@ -217,6 +217,7 @@ const AccessibilityInfo = {
217217 listener = RCTDeviceEventEmitter . addListener ( eventName , handler ) ;
218218 }
219219
220+ // $FlowFixMe[escaped-generic]
220221 _subscriptions . set ( handler , listener ) ;
221222 return {
222223 remove : AccessibilityInfo . removeEventListener . bind (
@@ -258,11 +259,13 @@ const AccessibilityInfo = {
258259 eventName: ChangeEventName,
259260 handler: T,
260261 ): void {
262+ // $FlowFixMe[escaped-generic]
261263 const listener = _subscriptions . get ( handler ) ;
262264 if ( ! listener ) {
263265 return;
264266 }
265267 listener . remove ( ) ;
268+ // $FlowFixMe[escaped-generic]
266269 _subscriptions . delete ( handler ) ;
267270 } ,
268271} ;
Original file line number Diff line number Diff line change @@ -466,6 +466,7 @@ module.exports = {
466466 *
467467 * [Styles](docs/style.html)
468468 */
469+ // $FlowFixMe[incompatible-use]
469470 style : Text . propTypes . style ,
470471 /**
471472 * The color of the `TextInput` underline.
Original file line number Diff line number Diff line change 116116 "ws" : " ^6.1.4"
117117 },
118118 "devDependencies" : {
119- "flow-bin" : " ^0.135 .0" ,
119+ "flow-bin" : " ^0.136 .0" ,
120120 "react" : " 16.13.1"
121121 },
122122 "detox" : {
Original file line number Diff line number Diff line change 3333 "eslint-plugin-react-hooks" : " ^4.0.7" ,
3434 "eslint-plugin-react-native" : " 3.8.1" ,
3535 "eslint-plugin-relay" : " 1.7.1" ,
36- "flow-bin" : " ^0.135 .0" ,
36+ "flow-bin" : " ^0.136 .0" ,
3737 "jest" : " ^26.5.2" ,
3838 "jest-junit" : " ^10.0.0" ,
3939 "jscodeshift" : " ^0.11.0" ,
Original file line number Diff line number Diff line change @@ -63,4 +63,4 @@ untyped-import
6363untyped-type-import
6464
6565[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:
30563056 resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138"
30573057 integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==
30583058
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 ==
30633063
30643064flow-parser@0.*, flow-parser@^0.121.0 :
30653065 version "0.121.0"
You can’t perform that action at this time.
0 commit comments