From 3d097f5e2f5b40f29021e83c7e81948969e45df2 Mon Sep 17 00:00:00 2001 From: Tatyana Kostromskaya <32135588+takost@users.noreply.github.com> Date: Tue, 10 Oct 2023 10:45:06 +0000 Subject: [PATCH] fix linter --- packages/github/src/internal/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/github/src/internal/utils.ts b/packages/github/src/internal/utils.ts index fb4a0225..2c520789 100644 --- a/packages/github/src/internal/utils.ts +++ b/packages/github/src/internal/utils.ts @@ -30,7 +30,7 @@ export function getProxyAgentDispatcher( export function getProxyFetch(destinationUrl): typeof fetch { const httpDispatcher = getProxyAgentDispatcher(destinationUrl) - const proxyFetch = (url, opts) => { + const proxyFetch: typeof fetch = async (url, opts) => { return fetch(url, { ...opts, dispatcher: httpDispatcher