Chore: improve types

This commit is contained in:
SukkaW
2024-05-02 00:52:02 +08:00
parent ab14cf77cf
commit df6bbb68a0
4 changed files with 7 additions and 4 deletions

View File

@@ -65,7 +65,10 @@ export const downloadPreviousBuild = task(import.meta.path, async (span) => {
const extract = tarStream.extract();
pipeline(
Readable.fromWeb(resp.body as any),
Readable.fromWeb(
// @ts-expect-error -- DOM type is incompatible with Node type
resp.body
),
gunzip,
extract
);