fix: lint project (#2693)

This commit is contained in:
David Nguyen
2026-05-08 16:04:22 +10:00
committed by GitHub
parent edbf65969b
commit 8671f269e8
1414 changed files with 12867 additions and 24335 deletions
+1 -4
View File
@@ -14,10 +14,7 @@ export const withTimeout = async <T>(promise: Promise<T>, timeoutMs: number) =>
* Wrapper around `fetch` that aborts the request after `timeoutMs`.
* Throws with a descriptive message on timeout.
*/
export const fetchWithTimeout = async (
input: string | URL | Request,
init: RequestInit & { timeoutMs: number },
) => {
export const fetchWithTimeout = async (input: string | URL | Request, init: RequestInit & { timeoutMs: number }) => {
const { timeoutMs, ...fetchInit } = init;
const controller = new AbortController();