@types/web 0.0.103 → 0.0.105
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.d.ts +14 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.105 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.105.
|
package/index.d.ts
CHANGED
|
@@ -5876,6 +5876,8 @@ interface CustomElementRegistry {
|
|
|
5876
5876
|
define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void;
|
|
5877
5877
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/get) */
|
|
5878
5878
|
get(name: string): CustomElementConstructor | undefined;
|
|
5879
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/getName) */
|
|
5880
|
+
getName(constructor: CustomElementConstructor): string | null;
|
|
5879
5881
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/upgrade) */
|
|
5880
5882
|
upgrade(root: Node): void;
|
|
5881
5883
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomElementRegistry/whenDefined) */
|
|
@@ -11501,6 +11503,12 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
11501
11503
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/seeking)
|
|
11502
11504
|
*/
|
|
11503
11505
|
readonly seeking: boolean;
|
|
11506
|
+
/**
|
|
11507
|
+
* Available only in secure contexts.
|
|
11508
|
+
*
|
|
11509
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/sinkId)
|
|
11510
|
+
*/
|
|
11511
|
+
readonly sinkId: string;
|
|
11504
11512
|
/**
|
|
11505
11513
|
* The address or URL of the a media resource that is to be considered.
|
|
11506
11514
|
*
|
|
@@ -11551,6 +11559,12 @@ interface HTMLMediaElement extends HTMLElement {
|
|
|
11551
11559
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/setMediaKeys)
|
|
11552
11560
|
*/
|
|
11553
11561
|
setMediaKeys(mediaKeys: MediaKeys | null): Promise<void>;
|
|
11562
|
+
/**
|
|
11563
|
+
* Available only in secure contexts.
|
|
11564
|
+
*
|
|
11565
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLMediaElement/setSinkId)
|
|
11566
|
+
*/
|
|
11567
|
+
setSinkId(sinkId: string): Promise<void>;
|
|
11554
11568
|
readonly NETWORK_EMPTY: 0;
|
|
11555
11569
|
readonly NETWORK_IDLE: 1;
|
|
11556
11570
|
readonly NETWORK_LOADING: 2;
|