Add HTMLAudioElement and HTMLVideoElement

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-03-09 08:08:59 +01:00
parent 025ac46101
commit ab60c9b5da
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 10 additions and 0 deletions

View File

@ -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 {