Skip to content

Commit 2e94297

Browse files
badgooooorSgtPooki
andauthored
Update test/interface-tests/src/dag/import.ts
Co-authored-by: Russell Dempsey <[email protected]>
1 parent 6d358a3 commit 2e94297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/interface-tests/src/dag/import.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async function createCar (blocks: Array<{ cid: CID, bytes: Uint8Array }>): Promi
4444
return out
4545
}
4646

47-
async function createReadableStreamFromCar (car: AsyncIterable<Uint8Array>): Promise<ReadableStream> {
47+
async function createReadableStreamFromCar (car: AsyncIterable<Uint8Array>): Promise<ReadableStream<Uint8Array>> {
4848
const stream = new ReadableStream({
4949
async start (controller) {
5050
try {

0 commit comments

Comments
 (0)