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
Argument of type '(x: string | undefined) => "" | rs.Stream<string> | undefined' is not assignable to parameter of type 'Fn<string | undefined, Subscription<string, string>>'.
Type '"" | Stream<string> | undefined' is not assignable to type 'Subscription<string, string>'.
Type 'undefined' is not assignable to type 'Subscription<string, string>'. [2345]
The text was updated successfully, but these errors were encountered:
You're absolutely right, @gavinpc-mindgrub! Have updated the sigs and also switched to the more general ISubscription interface as return type (even though currently everything is pretty much a subclass of Subscription only)...
According to the docstring for metaStream:
So shouldn't the
factory
type hereumbrella/packages/rstream/src/metastream.ts
Line 108 in fe6cee7
allow nullish values:
Currently, usages like this
get an error like this
The text was updated successfully, but these errors were encountered: