diff --git a/src/@types/global.d.ts b/src/@types/global.d.ts index 4aa6df5488..ef3922327a 100644 --- a/src/@types/global.d.ts +++ b/src/@types/global.d.ts @@ -110,6 +110,16 @@ declare global { interface HTMLAudioElement { type?: string; + // sinkId & setSinkId are experimental and typescript doesn't know about them + sinkId: string; + setSinkId(outputId: string); + } + + interface HTMLVideoElement { + type?: string; + // sinkId & setSinkId are experimental and typescript doesn't know about them + sinkId: string; + setSinkId(outputId: string); } interface Element {