[@types/node] More issues with ReadableStream types
#74885
Unanswered
james-pre
asked this question in
Issues with a @types package
Replies: 2 comments 3 replies
-
|
Thanks for the discussion about "node", some useful links for everyone: Pinging the DT module owners: @microsoft, @jkomyno, @r3nya, @btoueg, @Touffy, @mohsen1, @galkin, @eps1lon, @WilcoBakker, @chyzwar, @trivikr, @yoursunny, @qwelias, @ExE-Boss, @peterblazejewicz, @addaleax, @victorperin, @nodejs, @LinusU, @wafuwafu13, @mcollina, @Semigradsky, @Renegade334, @anonrig. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
The @types/node web types and the lib.dom web types simply do not interassign. To avoid mixing the two, either:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I saw a few other discussions concerning
ReadableStream...This time there is an issue with the return type of
Readable.toWebnot actually returning a type compatible withReadableStream.For example,
const stream: ReadableStream = Readable.toWeb(...)gives this absurd TS error:Note that Typescript v6.0.2 is in use.
Beta Was this translation helpful? Give feedback.
All reactions