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