From a16275b003af1ab901480b804829b7082214683b Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 13 Oct 2024 22:48:51 -0600 Subject: [PATCH] ts-ignores --- src/Video.web.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Video.web.tsx b/src/Video.web.tsx index 1ef21df4..e597d154 100644 --- a/src/Video.web.tsx +++ b/src/Video.web.tsx @@ -6,6 +6,7 @@ import React, { useRef, type RefObject, } from 'react'; +//@ts-ignore import shaka from 'shaka-player'; import type {VideoRef, ReactVideoProps, VideoMetadata} from './types'; @@ -236,6 +237,7 @@ const Video = forwardRef( shakaPlayerRef.current.unload() } shakaPlayerRef.current = new shaka.Player(); + //@ts-ignore shakaPlayerRef.current.addEventListener("error", (event) => { //@ts-ignore const shakaError = event.detail;