Skip to content

Commit 13e38d4

Browse files
committed
Remove unnecessary type casts
1 parent ad490ca commit 13e38d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stringify.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,9 +487,9 @@ function stringify(playlist: MasterPlaylist | MediaPlaylist, postProcess?: PostP
487487
lines.push(`#EXT-X-START:TIME-OFFSET=${buildDecimalFloatingNumber(playlist.start.offset)}${playlist.start.precise ? ',PRECISE=YES' : ''}`);
488488
}
489489
if (playlist.isMasterPlaylist) {
490-
buildMasterPlaylist(lines, playlist as MasterPlaylist, postProcess);
490+
buildMasterPlaylist(lines, playlist, postProcess);
491491
} else {
492-
buildMediaPlaylist(lines, playlist as MediaPlaylist, postProcess);
492+
buildMediaPlaylist(lines, playlist, postProcess);
493493
}
494494
// console.log('<<<');
495495
// console.log(lines.join('\n'));

0 commit comments

Comments
 (0)