From 3be1188291685737b5d97cf3c976b52f2a907d1d Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Fri, 19 May 2023 21:23:15 +0300 Subject: [PATCH] Fixed compilation issues --- src/platforms/github/index.ts | 1 - src/utils/net/http-response.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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) {