Fix type errors

This commit is contained in:
Robin
2024-06-24 10:31:50 -04:00
parent 18740fc686
commit 4db7c2bc68
2 changed files with 1 additions and 8 deletions

View File

@@ -28,12 +28,6 @@ declare global {
OLM_OPTIONS: Record<string, string>;
}
// TypeScript doesn't know about the experimental setSinkId method, so we
// declare it ourselves
interface MediaElement extends HTMLVideoElement {
setSinkId: (id: string) => void;
}
interface HTMLElement {
// Safari only supports this prefixed, so tell the type system about it
webkitRequestFullscreen: () => void;