Skip to content

Commit a1ac89a

Browse files
committed
typefix
1 parent 0d66d00 commit a1ac89a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/js-sdk/src/template/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export async function tarFileStreamUpload(
8686
// First pass: calculate the compressed size without buffering
8787
const sizeCalculationStream = tarFileStream(fileName, fileContextPath)
8888
let contentLength = 0
89-
for await (const chunk of sizeCalculationStream as AsyncIterable<Uint8Array>) {
89+
for await (const chunk of sizeCalculationStream as unknown as AsyncIterable<Buffer>) {
9090
contentLength += chunk.length
9191
}
9292

0 commit comments

Comments
 (0)