Fixed compilation issues

This commit is contained in:
Kir_Antipov 2023-05-19 21:23:15 +03:00
parent f661d75590
commit 3be1188291
2 changed files with 1 additions and 2 deletions

View file

@ -3,7 +3,6 @@ export {
GitHubApiOptions,
GITHUB_API_URL,
DEFAULT_GITHUB_API_URL,
GITHUB_API_VERSION,
} from "./github-api-client";

View file

@ -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) {