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
For example, I tried to use destroy()(scserversocket.js#L595) on SCServerSocket but its definition is not present
importhttpfrom'http';import{attach,SCServerSocket}from'socketcluster-server';constscServer=attach(http.createServer());scServer.on('connection',(socket: SCServerSocket): void=>{socket.destroy()// Destroy is not a function in socket (SCServerSocket)}
Similar to this, there are more definitions in SCServerSocket which are missing are listed below.
I want to use functions related to @types/socketcluster-server but some of them are missing its definition. This is issue is similar to #31969 , thanks to @DanielRose on that.
For example, I tried to use
destroy()
(scserversocket.js#L595) on SCServerSocket but its definition is not presentSimilar to this, there are more definitions in
SCServerSocket
which are missing are listed below.terminate
sendObjectBatch
encode
decode
sendObjectBatch
sendObject
deauthenticateSelf
triggerAuthenticationEvents
Authors: @DanielRose
The text was updated successfully, but these errors were encountered: