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
According to declaration it should take one argument of interface SubscribePrivateResponse which has 2 props status and channels. So something like this should be valid:
Fixed in 7126410. In general current format is not beautiful at all as it requires passing status 200 to work which is a bit awkward, we should keep backwards compatibility for now, but in future releases I believe it needs to be improved.
Centrifuge v2.2.2
According to declaration it should take one argument of interface
SubscribePrivateResponse
which has 2 props status and channels. So something like this should be valid:But it will result in error
TypeError: Cannot read property 'channels' of undefined
because the actual thing its waiting for isSo I guess data property is missing in type declarations
The text was updated successfully, but these errors were encountered: