Improve typing (#7349)

This commit is contained in:
Michael Telatynski
2021-12-14 15:34:54 +00:00
committed by GitHub
parent b2548f05a8
commit 7033f8696a
8 changed files with 24 additions and 11 deletions

View File

@@ -163,6 +163,16 @@ declare global {
interface HTMLAudioElement {
type?: string;
// sinkId & setSinkId are experimental and typescript doesn't know about them
sinkId: string;
setSinkId(outputId: string): void;
}
interface HTMLVideoElement {
type?: string;
// sinkId & setSinkId are experimental and typescript doesn't know about them
sinkId: string;
setSinkId(outputId: string): void;
}
interface HTMLStyleElement {