Skip to content

Commit

Permalink
fix: typescript compile error
Browse files Browse the repository at this point in the history
Fixes #1746
  • Loading branch information
robertsLando committed Nov 28, 2023
1 parent b094142 commit 2655feb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ export type GenericCallback<T> = (error?: Error, result?: T) => void
export type VoidCallback = () => void

export type IStream = Duplex & {
socket?: WebSocket
/** only set on browsers, it's a [WebSocket](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket) */
socket?: any
}

export type StreamBuilder = (
Expand Down

0 comments on commit 2655feb

Please sign in to comment.