Skip to content

Commit 80f2e10

Browse files
committed
use new this Flow annotation syntax
1 parent 2b1fb91 commit 80f2e10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-server/src/ReactFizzServer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1668,7 +1668,7 @@ function erroredTask(
16681668
}
16691669
}
16701670

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

0 commit comments

Comments
 (0)