Export DemuxOptions is necessary for publishing

This commit is contained in:
Lewis Diamond 2020-03-02 10:17:41 -05:00
parent ed73bd2887
commit f661f9be6b

View File

@ -12,7 +12,7 @@ enum EventSubscription {
type DemuxStreams = NodeJS.WritableStream | NodeJS.ReadWriteStream;
interface DemuxOptions extends DuplexOptions {
export interface DemuxOptions extends DuplexOptions {
remultiplex?: boolean;
}
@ -55,6 +55,7 @@ class Demux extends Duplex {
this.on("unpipe", () => this._flush());
}
// tslint:disable-next-line
public _read(size: number) {}
public async _write(chunk: any, encoding: any, cb: any) {