Skip to content
This repository was archived by the owner on Jun 26, 2023. It is now read-only.

Commit dc8a342

Browse files
committed
fix: sink returntype
1 parent c34a1fb commit dc8a342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stream-muxer/types.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ export interface MuxedStream extends AsyncIterable<Uint8Array | BufferList> {
4848
id: string;
4949
}
5050

51-
export type Sink = (source: Uint8Array) => Promise<Uint8Array>;
51+
export type Sink = (source: Uint8Array) => Promise<void>;

0 commit comments

Comments
 (0)