From e9c9f4966c2fcf4202c934ff128a67b58d908075 Mon Sep 17 00:00:00 2001 From: Cromefire_ Date: Thu, 30 Jul 2020 00:41:11 +0200 Subject: [PATCH] Fixed type of AudioTrackList --- src/plugins/htmlVideoPlayer/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index c5559789a1..f0d8d8229a 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -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[]} */ const elemAudioTracks = elem.audioTracks || []; console.debug(`found ${elemAudioTracks.length} audio tracks`);