diff --git a/src/platforms/github/index.ts b/src/platforms/github/index.ts index 6cbc94d..10d9357 100644 --- a/src/platforms/github/index.ts +++ b/src/platforms/github/index.ts @@ -3,7 +3,6 @@ export { GitHubApiOptions, GITHUB_API_URL, - DEFAULT_GITHUB_API_URL, GITHUB_API_VERSION, } from "./github-api-client"; diff --git a/src/utils/net/http-response.ts b/src/utils/net/http-response.ts index 739018f..2c31ed0 100644 --- a/src/utils/net/http-response.ts +++ b/src/utils/net/http-response.ts @@ -263,7 +263,7 @@ class CachedHttpResponse implements HttpResponse { */ get body(): NodeJS.ReadableStream { if (this._blob) { - return this._blob.stream(); + return this._blob.stream() as unknown as NodeJS.ReadableStream; } if (!this._response.bodyUsed) {