Skip to content

Commit

Permalink
use new this Flow annotation syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
kassens committed Dec 20, 2022
1 parent 2b1fb91 commit 80f2e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-server/src/ReactFizzServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1668,7 +1668,7 @@ function erroredTask(
}
}

function abortTaskSoft(task: Task): void {
function abortTaskSoft(this: Request, task: Task): void {
// This aborts task without aborting the parent boundary that it blocks.
// It's used for when we didn't need this task to complete the tree.
// If task was needed, then it should use abortTask instead.
Expand Down

0 comments on commit 80f2e10

Please sign in to comment.