Skip to content

Commit

Permalink
Ignore circular no-use-before-define
Browse files Browse the repository at this point in the history
  • Loading branch information
jridgewell committed Jul 6, 2023
1 parent 33efb22 commit 964cc3a
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -19,6 +19,7 @@ export function signalFromNodeResponse(res: ServerResponse) {
// first, then we know the client disconnected before we finished.
function onClose() {
controller.abort()
// eslint-disable-next-line @typescript-eslint/no-use-before-define
res.off('finish', onFinish)
}
function onFinish() {
Expand Down

0 comments on commit 964cc3a

Please sign in to comment.