Fixed type of AudioTrackList

This commit is contained in:
Cromefire_ 2020-07-30 00:41:11 +02:00
parent 062ea29ad2
commit e9c9f4966c
No known key found for this signature in database
GPG key ID: D3D3DB179F435F0C

View file

@ -641,7 +641,7 @@ function tryRemoveElement(elem) {
// https://msdn.microsoft.com/en-us/library/hh772507(v=vs.85).aspx
/**
* @type {HTMLOptionsCollection|any[]}
* @type {ArrayLike<any>|any[]}
*/
const elemAudioTracks = elem.audioTracks || [];
console.debug(`found ${elemAudioTracks.length} audio tracks`);