1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 16:45:58 +01:00

Type global variables in sfu.js.

This commit is contained in:
Juliusz Chroboczek 2020-08-24 22:31:22 +02:00
parent e4aad04f28
commit fba0dded84
2 changed files with 4 additions and 1 deletions

View file

@ -349,7 +349,7 @@ ServerConnection.prototype.request = function(what) {
/** /**
* newUpStream requests the creation of a new up stream. * newUpStream requests the creation of a new up stream.
* *
* @param {string} id - The id of the stream to create (optional). * @param {string} [id] - The id of the stream to create.
* @returns {Stream} * @returns {Stream}
*/ */
ServerConnection.prototype.newUpStream = function(id) { ServerConnection.prototype.newUpStream = function(id) {

View file

@ -5,7 +5,10 @@
'use strict'; 'use strict';
/** @type {string} */
let group; let group;
/** @type {ServerConnection} */
let serverConnection; let serverConnection;
function setUserPass(username, password) { function setUserPass(username, password) {