Export DemuxOptions is necessary for publishing
This commit is contained in:
parent
ed73bd2887
commit
f661f9be6b
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user