Commit 7d4dabe3 authored by Antonin Décimo's avatar Antonin Décimo Committed by Juliusz Chroboczek

JSDoc doesn't recognize {Promise<void>[]}, use {Array.<>}.

parent 59507c81
......@@ -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));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment