feat: enable type-aware no-floating-promises rule, fix all 177 violations (#22741)
This commit is contained in:
@@ -111,7 +111,7 @@ export const createSseClient = <TData = unknown>({
|
||||
|
||||
const abortHandler = () => {
|
||||
try {
|
||||
reader.cancel()
|
||||
void reader.cancel()
|
||||
} catch {
|
||||
// noop
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ export const createSseClient = <TData = unknown>({
|
||||
|
||||
const abortHandler = () => {
|
||||
try {
|
||||
reader.cancel()
|
||||
void reader.cancel()
|
||||
} catch {
|
||||
// noop
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user