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
Note that string | unknown evaluates to just unknown - which likely defeats the purpose of the type annotation.
Looks like in the .NET client it's typed strictly as string.
Suggestion:
Update type from object: string | unknown to just object: string. Or maybe, if it is not guaranteed to always be present, to object?: string
The text was updated successfully, but these errors were encountered:
It happens in a few places, e.g. https://github.com/GetStream/stream-js/blob/main/src/feed.ts#L103
Note that
string | unknown
evaluates to justunknown
- which likely defeats the purpose of the type annotation.Looks like in the .NET client it's typed strictly as
string
.Suggestion:
Update type from
object: string | unknown
to justobject: string
. Or maybe, if it is not guaranteed to always be present, toobject?: string
The text was updated successfully, but these errors were encountered: