mirror of
https://github.com/jech/galene.git
synced 2024-11-09 18:25:58 +01:00
JSDoc doesn't recognize {Promise<void>[]}, use {Array.<>}.
This commit is contained in:
parent
59507c811f
commit
7d4dabe30f
1 changed files with 1 additions and 1 deletions
|
@ -926,7 +926,7 @@ Stream.prototype.flushIceCandidates = async function () {
|
|||
}
|
||||
});
|
||||
|
||||
/** @type {Promise<void>[]} */
|
||||
/** @type {Array.<Promise<void>>} */
|
||||
let promises = [];
|
||||
c.remoteIceCandidates.forEach(candidate => {
|
||||
promises.push(this.pc.addIceCandidate(candidate).catch(console.warn));
|
||||
|
|
Loading…
Reference in a new issue