Skip to content

Commit d6a0896

Browse files
committed
fix: allow overriding any stream option
1 parent 3455cb5 commit d6a0896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ObjectMultiplex.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ export class ObjectMultiplex extends Duplex {
1414

1515
constructor(opts: DuplexOptions = {}) {
1616
super({
17-
...opts,
1817
objectMode: true,
18+
...opts,
1919
});
2020
this._substreams = {};
2121
}

0 commit comments

Comments
 (0)