You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've starting seeing errors from TS checking that says the ReadableStream.from property does not exist.
This is a complete error:
TS2339 [ERROR]: Property 'from' does not exist on type '{ new (underlyingSource: UnderlyingByteSource, strategy?: { highWaterMark?: number | undefined; } | undefined): ReadableStream<Uint8Array>; new <R = any>(underlyingSource: UnderlyingDefaultSource<...>, strategy?: QueuingStrategy<...> | undefined): ReadableStream<...>; new <R = any>(underlyingSource?: UnderlyingSourc...'.
const body = ReadableStream.from(streamEvents())
~~~~
at file:///Users/mgibson/deno/jollytoad/app/routes/sse/feed.tsx:7:31
Version: Deno 1.45.2
I've starting seeing errors from TS checking that says the
ReadableStream.from
property does not exist.This is a complete error:
Code for this module is here: https://github.com/jollytoad/home/blob/main/app/routes/sse/feed.tsx#L7
Although I'm seeing many of these, here is the full log from my CI action: https://github.com/jollytoad/home/actions/runs/10041643107/job/27750190854#step:6:827
I also see the errors in VSCode too:
It seems that the types from the npm cache are being leaked implicitly:
The text was updated successfully, but these errors were encountered: