Stream example in bun.sh docs has Typescript error #11903
Labels
bug
Something isn't working
docs
Improvements or additions to documentation
typescript
Something for TypeScript
What version of Bun is running?
1.1.13+bd6a60512
What platform is your computer?
Darwin 23.3.0 arm64 arm
What steps can reproduce the bug?
Take the stream example from the documentation:
The code runs fine, but the
stream
symbol raises a typescript error in VSCode:Here is my
package.json
, right out ofbun init
;What is the expected behavior?
Type
ReadableStream
should support async iteration.What do you see instead?
The text was updated successfully, but these errors were encountered: