-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Node.js typings (ReadStream methods) #9710
Comments
please send a pull request first. I'll review it. |
@tarurar where exactly is this API documented? I can't find it on Node's site. |
@DanielRosenwasser I don't see it either, but if you try to examine the I saw examples in javascript which uses |
@vvakame ok, done |
@tarurar interestingly I just saw a PR relating to this pop up: In other words, it should probably be documented, but it should be fine to add here. |
Hi. Just hit this. Wanted to make a PR for this, but wanted to understand the difference between the Readable class and the ReadableStream global interface. The class is defining more methods than the interface, but a few packages I use (like dockerode) uses the global I believe the interface should define all these methods and the class should implement them, correct? |
Hi thread, we're moving DefinitelyTyped to use GitHub Discussions for conversations the To help with the transition, we're closing all issues which haven't had activity in the last 6 months, which includes this issue. If you think closing this issue is a mistake, please pop into the TypeScript Community Discord and mention the issue in the |
I want to talk about
node/node.d.ts
.The method
destroy
of classfs.ReadStream
is not available in the definition. I can call this method in regular javascript but not in typescript. Is it ok?The text was updated successfully, but these errors were encountered: