Skip to content

Commit 9eac6c7

Browse files
committed
Fix eslint warnings.
1 parent 16cb322 commit 9eac6c7

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

p2p-media-loader-demo/src/App.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ function App() {
207207
};
208208

209209
const initHlsClapprPlayer = (url: string) => {
210+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
210211
const engine = hlsEngine.current!;
211212
const clapprPlayer = new window.Clappr.Player({
212213
parentId: "#player-container",

p2p-media-loader-demo/src/global.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
declare global {
22
interface Window {
3+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
34
Clappr: any;
5+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
46
LevelSelector: any;
57
}
68
}

0 commit comments

Comments
 (0)