Skip to content

Commit 47eaf45

Browse files
committed
fix(youtube-player): Remove as any cast
1 parent c0a8060 commit 47eaf45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/youtube-player/youtube-player.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ function loadApi(nonce: string | null): void {
759759
};
760760
script.addEventListener('load', callback);
761761
script.addEventListener('error', callback);
762-
(script as any).src = url;
762+
script.src = url;
763763
script.async = true;
764764

765765
if (nonce) {

0 commit comments

Comments
 (0)