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 was archived by the owner on Oct 9, 2025. It is now read-only.
A user can pass custom state properties via the presence API and since #224 it is now possible to pass a generic that will adjust the types accordingly.
channel.presenceState<MyPresenceState>();
However it would be useful if we could stamp the presence types on creation of the channel
constchannel=client.channel<MyPresenceState>('id',config);// would enforce track to `MyPresenceState`channel.track({ ... });// return presence state as `MyPresenceState`constpresenceState=channel.presenceState();
Additional context
Please let me know if this is more than a chore and needs to be recorded elsewhere.