@types/web 0.0.116 → 0.0.118
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 +19 -3
- 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.118 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.118.
|
package/index.d.ts
CHANGED
|
@@ -2115,7 +2115,7 @@ interface WebTransportOptions {
|
|
|
2115
2115
|
}
|
|
2116
2116
|
|
|
2117
2117
|
interface WebTransportSendStreamOptions {
|
|
2118
|
-
sendOrder?: number
|
|
2118
|
+
sendOrder?: number;
|
|
2119
2119
|
}
|
|
2120
2120
|
|
|
2121
2121
|
interface WheelEventInit extends MouseEventInit {
|
|
@@ -2201,6 +2201,8 @@ interface ARIAMixin {
|
|
|
2201
2201
|
ariaColSpan: string | null;
|
|
2202
2202
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaCurrent) */
|
|
2203
2203
|
ariaCurrent: string | null;
|
|
2204
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDescription) */
|
|
2205
|
+
ariaDescription: string | null;
|
|
2204
2206
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaDisabled) */
|
|
2205
2207
|
ariaDisabled: string | null;
|
|
2206
2208
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/ariaExpanded) */
|
|
@@ -2928,8 +2930,11 @@ declare var AuthenticatorAssertionResponse: {
|
|
|
2928
2930
|
interface AuthenticatorAttestationResponse extends AuthenticatorResponse {
|
|
2929
2931
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/attestationObject) */
|
|
2930
2932
|
readonly attestationObject: ArrayBuffer;
|
|
2933
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/getAuthenticatorData) */
|
|
2931
2934
|
getAuthenticatorData(): ArrayBuffer;
|
|
2935
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/getPublicKey) */
|
|
2932
2936
|
getPublicKey(): ArrayBuffer | null;
|
|
2937
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/getPublicKeyAlgorithm) */
|
|
2933
2938
|
getPublicKeyAlgorithm(): COSEAlgorithmIdentifier;
|
|
2934
2939
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AuthenticatorAttestationResponse/getTransports) */
|
|
2935
2940
|
getTransports(): string[];
|
|
@@ -3049,6 +3054,7 @@ declare var BaseAudioContext: {
|
|
|
3049
3054
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent)
|
|
3050
3055
|
*/
|
|
3051
3056
|
interface BeforeUnloadEvent extends Event {
|
|
3057
|
+
/** @deprecated */
|
|
3052
3058
|
returnValue: any;
|
|
3053
3059
|
}
|
|
3054
3060
|
|
|
@@ -3706,6 +3712,8 @@ interface CSSRule {
|
|
|
3706
3712
|
readonly KEYFRAMES_RULE: 7;
|
|
3707
3713
|
readonly KEYFRAME_RULE: 8;
|
|
3708
3714
|
readonly SUPPORTS_RULE: 12;
|
|
3715
|
+
readonly COUNTER_STYLE_RULE: 11;
|
|
3716
|
+
readonly FONT_FEATURE_VALUES_RULE: 14;
|
|
3709
3717
|
}
|
|
3710
3718
|
|
|
3711
3719
|
declare var CSSRule: {
|
|
@@ -3721,6 +3729,8 @@ declare var CSSRule: {
|
|
|
3721
3729
|
readonly KEYFRAMES_RULE: 7;
|
|
3722
3730
|
readonly KEYFRAME_RULE: 8;
|
|
3723
3731
|
readonly SUPPORTS_RULE: 12;
|
|
3732
|
+
readonly COUNTER_STYLE_RULE: 11;
|
|
3733
|
+
readonly FONT_FEATURE_VALUES_RULE: 14;
|
|
3724
3734
|
};
|
|
3725
3735
|
|
|
3726
3736
|
/**
|
|
@@ -8836,6 +8846,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
8836
8846
|
"animationstart": AnimationEvent;
|
|
8837
8847
|
"auxclick": MouseEvent;
|
|
8838
8848
|
"beforeinput": InputEvent;
|
|
8849
|
+
"beforetoggle": Event;
|
|
8839
8850
|
"blur": FocusEvent;
|
|
8840
8851
|
"cancel": Event;
|
|
8841
8852
|
"canplay": Event;
|
|
@@ -8951,6 +8962,8 @@ interface GlobalEventHandlers {
|
|
|
8951
8962
|
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
8952
8963
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforeinput_event) */
|
|
8953
8964
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
8965
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
|
|
8966
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
8954
8967
|
/**
|
|
8955
8968
|
* Fires when the object loses the input focus.
|
|
8956
8969
|
* @param ev The focus event.
|
|
@@ -14638,7 +14651,7 @@ declare var MIDIAccess: {
|
|
|
14638
14651
|
*/
|
|
14639
14652
|
interface MIDIConnectionEvent extends Event {
|
|
14640
14653
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIConnectionEvent/port) */
|
|
14641
|
-
readonly port: MIDIPort;
|
|
14654
|
+
readonly port: MIDIPort | null;
|
|
14642
14655
|
}
|
|
14643
14656
|
|
|
14644
14657
|
declare var MIDIConnectionEvent: {
|
|
@@ -14690,7 +14703,7 @@ declare var MIDIInputMap: {
|
|
|
14690
14703
|
*/
|
|
14691
14704
|
interface MIDIMessageEvent extends Event {
|
|
14692
14705
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIMessageEvent/data) */
|
|
14693
|
-
readonly data: Uint8Array;
|
|
14706
|
+
readonly data: Uint8Array | null;
|
|
14694
14707
|
}
|
|
14695
14708
|
|
|
14696
14709
|
declare var MIDIMessageEvent: {
|
|
@@ -17724,6 +17737,7 @@ interface PublicKeyCredential extends Credential {
|
|
|
17724
17737
|
declare var PublicKeyCredential: {
|
|
17725
17738
|
prototype: PublicKeyCredential;
|
|
17726
17739
|
new(): PublicKeyCredential;
|
|
17740
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable) */
|
|
17727
17741
|
isConditionalMediationAvailable(): Promise<boolean>;
|
|
17728
17742
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
|
|
17729
17743
|
isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;
|
|
@@ -27522,6 +27536,8 @@ declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null
|
|
|
27522
27536
|
declare var onauxclick: ((this: Window, ev: MouseEvent) => any) | null;
|
|
27523
27537
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforeinput_event) */
|
|
27524
27538
|
declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;
|
|
27539
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
|
|
27540
|
+
declare var onbeforetoggle: ((this: Window, ev: Event) => any) | null;
|
|
27525
27541
|
/**
|
|
27526
27542
|
* Fires when the object loses the input focus.
|
|
27527
27543
|
* @param ev The focus event.
|