mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2024-11-25 01:41:05 -05:00
Fixed compilation issues
This commit is contained in:
parent
f661d75590
commit
3be1188291
2 changed files with 1 additions and 2 deletions
|
@ -3,7 +3,6 @@ export {
|
|||
GitHubApiOptions,
|
||||
|
||||
GITHUB_API_URL,
|
||||
DEFAULT_GITHUB_API_URL,
|
||||
GITHUB_API_VERSION,
|
||||
} from "./github-api-client";
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue