Skip to content

Commit 0d66d00

Browse files
committed
type issue
1 parent b4acc93 commit 0d66d00

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) {
89+
for await (const chunk of sizeCalculationStream as AsyncIterable<Uint8Array>) {
9090
contentLength += chunk.length
9191
}
9292

0 commit comments

Comments
 (0)