diff --git a/packages/react-reconciler/src/ReactFiberCompleteWork.new.js b/packages/react-reconciler/src/ReactFiberCompleteWork.new.js index d27498638ce6..f366ccdf8839 100644 --- a/packages/react-reconciler/src/ReactFiberCompleteWork.new.js +++ b/packages/react-reconciler/src/ReactFiberCompleteWork.new.js @@ -992,7 +992,7 @@ function completeWork( // Don't count time spent in a timed out Suspense subtree as part of the base duration. const primaryChildFragment = workInProgress.child; if (primaryChildFragment !== null) { - // $FlowFixMe Flow doens't support type casting in combiation with the -= operator + // $FlowFixMe Flow doesn't support type casting in combination with the -= operator workInProgress.treeBaseDuration -= ((primaryChildFragment.treeBaseDuration: any): number); } } @@ -1022,7 +1022,7 @@ function completeWork( // Don't count time spent in a timed out Suspense subtree as part of the base duration. const primaryChildFragment = workInProgress.child; if (primaryChildFragment !== null) { - // $FlowFixMe Flow doens't support type casting in combiation with the -= operator + // $FlowFixMe Flow doesn't support type casting in combination with the -= operator workInProgress.treeBaseDuration -= ((primaryChildFragment.treeBaseDuration: any): number); } } @@ -1126,7 +1126,7 @@ function completeWork( // Don't count time spent in a timed out Suspense subtree as part of the base duration. const primaryChildFragment = workInProgress.child; if (primaryChildFragment !== null) { - // $FlowFixMe Flow doens't support type casting in combiation with the -= operator + // $FlowFixMe Flow doesn't support type casting in combination with the -= operator workInProgress.treeBaseDuration -= ((primaryChildFragment.treeBaseDuration: any): number); } } diff --git a/packages/react-reconciler/src/ReactFiberCompleteWork.old.js b/packages/react-reconciler/src/ReactFiberCompleteWork.old.js index da962bfdefee..8bfd7d3fe999 100644 --- a/packages/react-reconciler/src/ReactFiberCompleteWork.old.js +++ b/packages/react-reconciler/src/ReactFiberCompleteWork.old.js @@ -992,7 +992,7 @@ function completeWork( // Don't count time spent in a timed out Suspense subtree as part of the base duration. const primaryChildFragment = workInProgress.child; if (primaryChildFragment !== null) { - // $FlowFixMe Flow doens't support type casting in combiation with the -= operator + // $FlowFixMe Flow doesn't support type casting in combination with the -= operator workInProgress.treeBaseDuration -= ((primaryChildFragment.treeBaseDuration: any): number); } } @@ -1022,7 +1022,7 @@ function completeWork( // Don't count time spent in a timed out Suspense subtree as part of the base duration. const primaryChildFragment = workInProgress.child; if (primaryChildFragment !== null) { - // $FlowFixMe Flow doens't support type casting in combiation with the -= operator + // $FlowFixMe Flow doesn't support type casting in combination with the -= operator workInProgress.treeBaseDuration -= ((primaryChildFragment.treeBaseDuration: any): number); } } @@ -1126,7 +1126,7 @@ function completeWork( // Don't count time spent in a timed out Suspense subtree as part of the base duration. const primaryChildFragment = workInProgress.child; if (primaryChildFragment !== null) { - // $FlowFixMe Flow doens't support type casting in combiation with the -= operator + // $FlowFixMe Flow doesn't support type casting in combination with the -= operator workInProgress.treeBaseDuration -= ((primaryChildFragment.treeBaseDuration: any): number); } }