mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix typo in comment (#21214)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user