Update interface

This commit is contained in:
Jerry Kurian
2019-09-13 08:57:19 -04:00
parent 158475183a
commit 70edee51c4
3 changed files with 30 additions and 25 deletions

View File

@@ -43,7 +43,7 @@ class Demux extends Writable {
destKey?: string,
) => NodeJS.WritableStream | NodeJS.ReadWriteStream,
demuxBy: string | ((chunk: any) => string),
options?: WritableOptions,
options: WritableOptions = {},
) {
super(options);
this.demuxer =