Improve typing (#7349)
This commit is contained in:
committed by
GitHub
parent
b2548f05a8
commit
7033f8696a
10
src/@types/global.d.ts
vendored
10
src/@types/global.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user