mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Chore: improve types
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user