@eleven-am/pondsocket 0.1.123 → 0.1.124
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types.d.ts +1 -1
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -737,7 +737,7 @@ declare class PondClient {
|
|
|
737
737
|
* @param name - The name of the channel.
|
|
738
738
|
* @param params - The params to send to the server.
|
|
739
739
|
*/
|
|
740
|
-
createChannel (name: string, params?: JoinParams): ClientChannel
|
|
740
|
+
createChannel <EventType extends PondEvenType = PondEvenType> (name: string, params?: JoinParams): ClientChannel<EventType>;
|
|
741
741
|
|
|
742
742
|
/**
|
|
743
743
|
* @desc Subscribes to the connection state.
|