Add HTMLAudioElement and HTMLVideoElement
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
10
src/@types/global.d.ts
vendored
10
src/@types/global.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user