Skip to content

Commit 76ccdc1

Browse files
committed
Fix types for readStream helper (tests)
1 parent b2c75c7 commit 76ccdc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/__helper__/readStream.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type Input = Readable | {
55
}
66

77
async function readToBuffer(input: Input): Promise<Buffer> {
8-
const chunks = []
8+
const chunks: Buffer[] = []
99

1010
for await (const chunk of input) {
1111
chunks.push(chunk)

0 commit comments

Comments
 (0)