Skip to content

Commit

Permalink
Add missing constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
kasperisager committed Jan 10, 2025
1 parent 60903f1 commit 00d9c96
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ interface Duplex<M extends DuplexEvents = DuplexEvents>
extends Readable<M>,
Writable<M> {}

declare class Duplex<M extends DuplexEvents = DuplexEvents> extends Stream<M> {}
declare class Duplex<M extends DuplexEvents = DuplexEvents> extends Stream<M> {
constructor(opts?: DuplexOptions)
}

interface TransformEvents extends DuplexEvents {}

Expand Down

0 comments on commit 00d9c96

Please sign in to comment.