Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing type declaration for static method from #4

Open
jordanrastrick opened this issue May 13, 2024 · 0 comments
Open

Missing type declaration for static method from #4

jordanrastrick opened this issue May 13, 2024 · 0 comments

Comments

@jordanrastrick
Copy link

Hello,

Nice work, it's great to be able to use streaming in a library that might be used in either the back or front end.

One minor thing, the type declaration for the class ReadableStream is missing the static method from. It should look something like:

export class ReadableStream<T> {
  // ...
  static from(iterable: Iterable<T> | AsyncIterable<T>): ReadableStream<T>
  // ...
}

Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant