@@ -381,6 +381,8 @@ const TouchableMixin = {
381
381
/**
382
382
* Clear all timeouts on unmount
383
383
*/
384
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
385
+ * Flow's LTI update could not be added via codemod */
384
386
componentWillUnmount : function ( ) {
385
387
this . touchableDelayTimeout && clearTimeout ( this . touchableDelayTimeout ) ;
386
388
this . longPressDelayTimeout && clearTimeout ( this . longPressDelayTimeout ) ;
@@ -406,13 +408,17 @@ const TouchableMixin = {
406
408
/**
407
409
* Must return true if embedded in a native platform scroll view.
408
410
*/
411
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
412
+ * Flow's LTI update could not be added via codemod */
409
413
touchableHandleResponderTerminationRequest : function ( ) : any {
410
414
return ! this . props . rejectResponderTermination ;
411
415
} ,
412
416
413
417
/**
414
418
* Must return true to start the process of `Touchable`.
415
419
*/
420
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
421
+ * Flow's LTI update could not be added via codemod */
416
422
touchableHandleStartShouldSetResponder : function ( ) : any {
417
423
return ! this . props . disabled ;
418
424
} ,
@@ -429,6 +435,8 @@ const TouchableMixin = {
429
435
* @param {SyntheticEvent } e Synthetic event from event system.
430
436
*
431
437
*/
438
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
439
+ * Flow's LTI update could not be added via codemod */
432
440
touchableHandleResponderGrant : function ( e : PressEvent ) {
433
441
const dispatchID = e . currentTarget ;
434
442
// Since e is used in a callback invoked on another event loop
@@ -470,6 +478,8 @@ const TouchableMixin = {
470
478
/**
471
479
* Place as callback for a DOM element's `onResponderRelease` event.
472
480
*/
481
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
482
+ * Flow's LTI update could not be added via codemod */
473
483
touchableHandleResponderRelease : function ( e : PressEvent ) {
474
484
this . pressInLocation = null ;
475
485
this . _receiveSignal ( Signals . RESPONDER_RELEASE , e ) ;
@@ -478,6 +488,8 @@ const TouchableMixin = {
478
488
/**
479
489
* Place as callback for a DOM element's `onResponderTerminate` event.
480
490
*/
491
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
492
+ * Flow's LTI update could not be added via codemod */
481
493
touchableHandleResponderTerminate : function ( e : PressEvent ) {
482
494
this . pressInLocation = null ;
483
495
this . _receiveSignal ( Signals . RESPONDER_TERMINATED , e ) ;
@@ -486,6 +498,8 @@ const TouchableMixin = {
486
498
/**
487
499
* Place as callback for a DOM element's `onResponderMove` event.
488
500
*/
501
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
502
+ * Flow's LTI update could not be added via codemod */
489
503
touchableHandleResponderMove : function ( e : PressEvent ) {
490
504
// Measurement may not have returned yet.
491
505
if ( ! this . state . touchable . positionOnActivate ) {
@@ -571,6 +585,8 @@ const TouchableMixin = {
571
585
* element that was blurred just prior to this. This can be overridden when
572
586
* using `Touchable.Mixin.withoutDefaultFocusAndBlur`.
573
587
*/
588
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
589
+ * Flow's LTI update could not be added via codemod */
574
590
touchableHandleFocus : function ( e : Event ) {
575
591
this . props . onFocus && this . props . onFocus ( e ) ;
576
592
} ,
@@ -583,6 +599,8 @@ const TouchableMixin = {
583
599
* This can be overridden when using
584
600
* `Touchable.Mixin.withoutDefaultFocusAndBlur`.
585
601
*/
602
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
603
+ * Flow's LTI update could not be added via codemod */
586
604
touchableHandleBlur : function ( e : Event ) {
587
605
this . props . onBlur && this . props . onBlur ( e ) ;
588
606
} ,
@@ -663,6 +681,8 @@ const TouchableMixin = {
663
681
* @sideeffects
664
682
* @private
665
683
*/
684
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
685
+ * Flow's LTI update could not be added via codemod */
666
686
_remeasureMetricsOnActivation : function ( ) {
667
687
const responderID = this . state . touchable . responderID ;
668
688
if ( responderID == null ) {
@@ -676,6 +696,8 @@ const TouchableMixin = {
676
696
}
677
697
} ,
678
698
699
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
700
+ * Flow's LTI update could not be added via codemod */
679
701
_handleQueryLayout : function (
680
702
l : number ,
681
703
t : number ,
@@ -702,11 +724,15 @@ const TouchableMixin = {
702
724
) ;
703
725
} ,
704
726
727
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
728
+ * Flow's LTI update could not be added via codemod */
705
729
_handleDelay : function ( e : PressEvent ) {
706
730
this . touchableDelayTimeout = null ;
707
731
this . _receiveSignal ( Signals . DELAY , e ) ;
708
732
} ,
709
733
734
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
735
+ * Flow's LTI update could not be added via codemod */
710
736
_handleLongDelay : function ( e : PressEvent ) {
711
737
this . longPressDelayTimeout = null ;
712
738
const curState = this . state . touchable . touchState ;
@@ -726,6 +752,8 @@ const TouchableMixin = {
726
752
* @throws Error if invalid state transition or unrecognized signal.
727
753
* @sideeffects
728
754
*/
755
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
756
+ * Flow's LTI update could not be added via codemod */
729
757
_receiveSignal : function ( signal : Signal , e : PressEvent ) {
730
758
const responderID = this . state . touchable . responderID ;
731
759
const curState = this . state . touchable . touchState ;
@@ -765,6 +793,8 @@ const TouchableMixin = {
765
793
}
766
794
} ,
767
795
796
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
797
+ * Flow's LTI update could not be added via codemod */
768
798
_cancelLongPressDelayTimeout : function ( ) {
769
799
this . longPressDelayTimeout && clearTimeout ( this . longPressDelayTimeout ) ;
770
800
this . longPressDelayTimeout = null ;
@@ -777,6 +807,8 @@ const TouchableMixin = {
777
807
) ;
778
808
} ,
779
809
810
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
811
+ * Flow's LTI update could not be added via codemod */
780
812
_savePressInLocation : function ( e : PressEvent ) {
781
813
const touch = extractSingleTouch ( e . nativeEvent ) ;
782
814
const pageX = touch && touch . pageX ;
@@ -808,6 +840,8 @@ const TouchableMixin = {
808
840
* @param {Event } e Native event.
809
841
* @sideeffects
810
842
*/
843
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
844
+ * Flow's LTI update could not be added via codemod */
811
845
_performSideEffectsForTransition : function (
812
846
curState : State ,
813
847
nextState : State ,
@@ -869,11 +903,15 @@ const TouchableMixin = {
869
903
this . touchableDelayTimeout = null ;
870
904
} ,
871
905
906
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
907
+ * Flow's LTI update could not be added via codemod */
872
908
_startHighlight : function ( e : PressEvent ) {
873
909
this . _savePressInLocation ( e ) ;
874
910
this . touchableHandleActivePressIn && this . touchableHandleActivePressIn ( e ) ;
875
911
} ,
876
912
913
+ /* $FlowFixMe[missing-this-annot] The 'this' type annotation(s) required by
914
+ * Flow's LTI update could not be added via codemod */
877
915
_endHighlight : function ( e : PressEvent ) {
878
916
if ( this . touchableHandleActivePressOut ) {
879
917
if (
0 commit comments