Skip to content

Commit 964cc3a

Browse files
committed
Ignore circular no-use-before-define
1 parent 33efb22 commit 964cc3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/next/src/server/web/spec-extension/adapters/next-request.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export function signalFromNodeResponse(res: ServerResponse) {
1919
// first, then we know the client disconnected before we finished.
2020
function onClose() {
2121
controller.abort()
22+
// eslint-disable-next-line @typescript-eslint/no-use-before-define
2223
res.off('finish', onFinish)
2324
}
2425
function onFinish() {

0 commit comments

Comments
 (0)