@types/web 0.0.117 → 0.0.119
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 +18 -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.119 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.119.
|
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 {
|
|
@@ -3054,6 +3054,7 @@ declare var BaseAudioContext: {
|
|
|
3054
3054
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/BeforeUnloadEvent)
|
|
3055
3055
|
*/
|
|
3056
3056
|
interface BeforeUnloadEvent extends Event {
|
|
3057
|
+
/** @deprecated */
|
|
3057
3058
|
returnValue: any;
|
|
3058
3059
|
}
|
|
3059
3060
|
|
|
@@ -3711,6 +3712,8 @@ interface CSSRule {
|
|
|
3711
3712
|
readonly KEYFRAMES_RULE: 7;
|
|
3712
3713
|
readonly KEYFRAME_RULE: 8;
|
|
3713
3714
|
readonly SUPPORTS_RULE: 12;
|
|
3715
|
+
readonly COUNTER_STYLE_RULE: 11;
|
|
3716
|
+
readonly FONT_FEATURE_VALUES_RULE: 14;
|
|
3714
3717
|
}
|
|
3715
3718
|
|
|
3716
3719
|
declare var CSSRule: {
|
|
@@ -3726,6 +3729,8 @@ declare var CSSRule: {
|
|
|
3726
3729
|
readonly KEYFRAMES_RULE: 7;
|
|
3727
3730
|
readonly KEYFRAME_RULE: 8;
|
|
3728
3731
|
readonly SUPPORTS_RULE: 12;
|
|
3732
|
+
readonly COUNTER_STYLE_RULE: 11;
|
|
3733
|
+
readonly FONT_FEATURE_VALUES_RULE: 14;
|
|
3729
3734
|
};
|
|
3730
3735
|
|
|
3731
3736
|
/**
|
|
@@ -4330,6 +4335,8 @@ interface CSSStyleDeclaration {
|
|
|
4330
4335
|
offsetDistance: string;
|
|
4331
4336
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/offset-path) */
|
|
4332
4337
|
offsetPath: string;
|
|
4338
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/offset-position) */
|
|
4339
|
+
offsetPosition: string;
|
|
4333
4340
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/offset-rotate) */
|
|
4334
4341
|
offsetRotate: string;
|
|
4335
4342
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/opacity) */
|
|
@@ -8841,6 +8848,7 @@ interface GlobalEventHandlersEventMap {
|
|
|
8841
8848
|
"animationstart": AnimationEvent;
|
|
8842
8849
|
"auxclick": MouseEvent;
|
|
8843
8850
|
"beforeinput": InputEvent;
|
|
8851
|
+
"beforetoggle": Event;
|
|
8844
8852
|
"blur": FocusEvent;
|
|
8845
8853
|
"cancel": Event;
|
|
8846
8854
|
"canplay": Event;
|
|
@@ -8956,6 +8964,8 @@ interface GlobalEventHandlers {
|
|
|
8956
8964
|
onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
|
|
8957
8965
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforeinput_event) */
|
|
8958
8966
|
onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
|
|
8967
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
|
|
8968
|
+
onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
|
|
8959
8969
|
/**
|
|
8960
8970
|
* Fires when the object loses the input focus.
|
|
8961
8971
|
* @param ev The focus event.
|
|
@@ -14643,7 +14653,7 @@ declare var MIDIAccess: {
|
|
|
14643
14653
|
*/
|
|
14644
14654
|
interface MIDIConnectionEvent extends Event {
|
|
14645
14655
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIConnectionEvent/port) */
|
|
14646
|
-
readonly port: MIDIPort;
|
|
14656
|
+
readonly port: MIDIPort | null;
|
|
14647
14657
|
}
|
|
14648
14658
|
|
|
14649
14659
|
declare var MIDIConnectionEvent: {
|
|
@@ -14695,7 +14705,7 @@ declare var MIDIInputMap: {
|
|
|
14695
14705
|
*/
|
|
14696
14706
|
interface MIDIMessageEvent extends Event {
|
|
14697
14707
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIMessageEvent/data) */
|
|
14698
|
-
readonly data: Uint8Array;
|
|
14708
|
+
readonly data: Uint8Array | null;
|
|
14699
14709
|
}
|
|
14700
14710
|
|
|
14701
14711
|
declare var MIDIMessageEvent: {
|
|
@@ -17729,6 +17739,7 @@ interface PublicKeyCredential extends Credential {
|
|
|
17729
17739
|
declare var PublicKeyCredential: {
|
|
17730
17740
|
prototype: PublicKeyCredential;
|
|
17731
17741
|
new(): PublicKeyCredential;
|
|
17742
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable) */
|
|
17732
17743
|
isConditionalMediationAvailable(): Promise<boolean>;
|
|
17733
17744
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
|
|
17734
17745
|
isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;
|
|
@@ -20074,6 +20085,8 @@ declare var SVGGraphicsElement: {
|
|
|
20074
20085
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement)
|
|
20075
20086
|
*/
|
|
20076
20087
|
interface SVGImageElement extends SVGGraphicsElement, SVGURIReference {
|
|
20088
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/crossorigin) */
|
|
20089
|
+
crossOrigin: string | null;
|
|
20077
20090
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/height) */
|
|
20078
20091
|
readonly height: SVGAnimatedLength;
|
|
20079
20092
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGImageElement/preserveAspectRatio) */
|
|
@@ -27527,6 +27540,8 @@ declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null
|
|
|
27527
27540
|
declare var onauxclick: ((this: Window, ev: MouseEvent) => any) | null;
|
|
27528
27541
|
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforeinput_event) */
|
|
27529
27542
|
declare var onbeforeinput: ((this: Window, ev: InputEvent) => any) | null;
|
|
27543
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforetoggle_event) */
|
|
27544
|
+
declare var onbeforetoggle: ((this: Window, ev: Event) => any) | null;
|
|
27530
27545
|
/**
|
|
27531
27546
|
* Fires when the object loses the input focus.
|
|
27532
27547
|
* @param ev The focus event.
|