@@ -404,18 +404,19 @@ export function addMarkerProgressCallbackToPendingTransition(
404404) {
405405 if ( enableTransitionTracing ) {
406406 if ( currentPendingTransitionCallbacks === null ) {
407- currentPendingTransitionCallbacks = {
407+ currentPendingTransitionCallbacks = ( {
408408 transitionStart : null ,
409409 transitionProgress : null ,
410410 transitionComplete : null ,
411411 markerProgress : new Map ( ) ,
412412 markerIncomplete : null ,
413413 markerComplete : null ,
414- } ;
414+ } : PendingTransitionCallbacks ) ;
415415 }
416416
417417 if ( currentPendingTransitionCallbacks . markerProgress === null ) {
418- // $FlowFixMe[incompatible-use] found when upgrading Flow
418+ // $FlowFixMe[incompatible-use]
419+ // $FlowFixMe[incompatible-type]
419420 currentPendingTransitionCallbacks . markerProgress = new Map ( ) ;
420421 }
421422
@@ -445,6 +446,7 @@ export function addMarkerIncompleteCallbackToPendingTransition(
445446
446447 if ( currentPendingTransitionCallbacks . markerIncomplete === null ) {
447448 // $FlowFixMe[incompatible-use] found when upgrading Flow
449+ // $FlowFixMe[incompatible-type] found when upgrading Flow
448450 currentPendingTransitionCallbacks . markerIncomplete = new Map ( ) ;
449451 }
450452
@@ -473,6 +475,7 @@ export function addMarkerCompleteCallbackToPendingTransition(
473475
474476 if ( currentPendingTransitionCallbacks . markerComplete === null ) {
475477 // $FlowFixMe[incompatible-use] found when upgrading Flow
478+ // $FlowFixMe[incompatible-type] found when upgrading Flow
476479 currentPendingTransitionCallbacks . markerComplete = new Map ( ) ;
477480 }
478481
@@ -501,6 +504,7 @@ export function addTransitionProgressCallbackToPendingTransition(
501504
502505 if ( currentPendingTransitionCallbacks . transitionProgress === null ) {
503506 // $FlowFixMe[incompatible-use] found when upgrading Flow
507+ // $FlowFixMe[incompatible-type] found when upgrading Flow
504508 currentPendingTransitionCallbacks . transitionProgress = new Map ( ) ;
505509 }
506510
0 commit comments