From 7848822469b42c3ae15ddfca61b6ffd5f761e9ce Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Fri, 14 Aug 2020 14:36:29 +0200 Subject: [PATCH] Minor type tightenings in protocol.js. --- static/protocol.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/static/protocol.js b/static/protocol.js index 4f256dd..e8d52fd 100644 --- a/static/protocol.js +++ b/static/protocol.js @@ -62,7 +62,7 @@ function ServerConnection() { this.down = {}; /** * The ICE configuration used by all associated streams. - * @type {Array.} + * @type {Array.} */ this.iceServers = null; /** @@ -435,6 +435,7 @@ ServerConnection.prototype.groupAction = function(kind) { * userAction sends a request to act on a user. * * @param {string} kind - One of "op", "unop", "kick", "present", "unpresent". + * @param {string} id */ ServerConnection.prototype.userAction = function(kind, id) { this.send({ @@ -448,7 +449,7 @@ ServerConnection.prototype.userAction = function(kind, id) { * Called when we receive an offer from the server. Don't call this. * * @param {string} id - * @param labels + * @param {Object.} labels * @param {RTCSessionDescriptionInit} offer * @param {boolean} renegotiate */