Fixed type of AudioTrackList

This commit is contained in:
Cromefire_
2020-07-30 00:41:11 +02:00
parent 062ea29ad2
commit e9c9f4966c
+1 -1
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`);