@@ -404,18 +404,19 @@ export function addMarkerProgressCallbackToPendingTransition(
404
404
) {
405
405
if ( enableTransitionTracing ) {
406
406
if ( currentPendingTransitionCallbacks === null ) {
407
- currentPendingTransitionCallbacks = {
407
+ currentPendingTransitionCallbacks = ( {
408
408
transitionStart : null ,
409
409
transitionProgress : null ,
410
410
transitionComplete : null ,
411
411
markerProgress : new Map ( ) ,
412
412
markerIncomplete : null ,
413
413
markerComplete : null ,
414
- } ;
414
+ } : PendingTransitionCallbacks ) ;
415
415
}
416
416
417
417
if ( currentPendingTransitionCallbacks . markerProgress === null ) {
418
- // $FlowFixMe[incompatible-use] found when upgrading Flow
418
+ // $FlowFixMe[incompatible-use]
419
+ // $FlowFixMe[incompatible-type]
419
420
currentPendingTransitionCallbacks . markerProgress = new Map ( ) ;
420
421
}
421
422
@@ -445,6 +446,7 @@ export function addMarkerIncompleteCallbackToPendingTransition(
445
446
446
447
if ( currentPendingTransitionCallbacks . markerIncomplete === null ) {
447
448
// $FlowFixMe[incompatible-use] found when upgrading Flow
449
+ // $FlowFixMe[incompatible-type] found when upgrading Flow
448
450
currentPendingTransitionCallbacks . markerIncomplete = new Map ( ) ;
449
451
}
450
452
@@ -473,6 +475,7 @@ export function addMarkerCompleteCallbackToPendingTransition(
473
475
474
476
if ( currentPendingTransitionCallbacks . markerComplete === null ) {
475
477
// $FlowFixMe[incompatible-use] found when upgrading Flow
478
+ // $FlowFixMe[incompatible-type] found when upgrading Flow
476
479
currentPendingTransitionCallbacks . markerComplete = new Map ( ) ;
477
480
}
478
481
@@ -501,6 +504,7 @@ export function addTransitionProgressCallbackToPendingTransition(
501
504
502
505
if ( currentPendingTransitionCallbacks . transitionProgress === null ) {
503
506
// $FlowFixMe[incompatible-use] found when upgrading Flow
507
+ // $FlowFixMe[incompatible-type] found when upgrading Flow
504
508
currentPendingTransitionCallbacks . transitionProgress = new Map ( ) ;
505
509
}
506
510
0 commit comments