types
This commit is contained in:
parent
8856cb8d3b
commit
2bbc5c9e0f
@ -35,7 +35,7 @@ class Demux extends Duplex {
|
|||||||
constructor(
|
constructor(
|
||||||
construct: (destKey?: string) => DemuxStreams,
|
construct: (destKey?: string) => DemuxStreams,
|
||||||
demuxBy: string | ((chunk: any) => string),
|
demuxBy: string | ((chunk: any) => string),
|
||||||
options: DemuxOptions,
|
options: DemuxOptions = {},
|
||||||
) {
|
) {
|
||||||
super(options);
|
super(options);
|
||||||
this.demuxer =
|
this.demuxer =
|
||||||
|
Loading…
Reference in New Issue
Block a user