Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fcf4ebc

Browse files
committed
Add back eslint-disable for != on signal
1 parent 6578a76 commit fcf4ebc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/request.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export default class Request extends Body {
8585
signal = init.signal;
8686
}
8787

88+
// eslint-disable-next-line no-eq-null, eqeqeq
8889
if (signal != null && !isAbortSignal(signal)) {
8990
throw new TypeError('Expected signal to be an instanceof AbortSignal or EventTarget');
9091
}

0 commit comments

Comments
 (0)