Skip to content

Commit

Permalink
Adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
yassernasc committed Jan 10, 2025
1 parent cc1d993 commit 49e535f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ declare class Readable<
constructor(opts?: ReadableOptions)

static from(
data: (Buffer | string)[] | AsyncIterable<Buffer | string>,
data:
| (Buffer | string)
| (Buffer | string)[]
| AsyncIterable<Buffer | string>,
opts?: ReadableOptions
): Readable

Expand Down Expand Up @@ -203,7 +206,7 @@ declare namespace Stream {
cb: StreamCallback
): () => void

export function finished(stream: Stream, cb: Stream): () => void
export function finished(stream: Stream, cb: StreamCallback): () => void

export function isStream(stream: unknown): stream is Stream

Expand Down

0 comments on commit 49e535f

Please sign in to comment.