Skip to content

Commit

Permalink
Add missing type
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad committed Jun 10, 2024
1 parent 4830fcb commit f46014e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -3033,11 +3033,11 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
return i.startTime == cue.startTime && i.endTime == cue.endTime;
});
if (!interstitial) {
interstitial = {
interstitial = /** @type {shaka.extern.Interstitial} */ ({
startTime: cue.startTime,
endTime: cue.endTime,
values: [],
};
});
interstitials.push(interstitial);
}
interstitial.values.push(cue.value);
Expand Down

0 comments on commit f46014e

Please sign in to comment.