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
{{ message }}
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
When I define a stream type before using it, I regularly need to typecast the value when using
stream()
:This will error, saying it's not assignable to MyType. Typecasting the object (adding
} as MyType
inside the stream) fixes it.This works though:
This may be a typescript quirk that I'm not aware of. I'm using TypeScript 4.9.5.
The text was updated successfully, but these errors were encountered: