Remove socket.send(type, data, onResolved:string, onRejected:string) signature