@types/web 0.0.117 → 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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +14 -3
  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.117 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.117.
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 | null;
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
  /**
@@ -8841,6 +8846,7 @@ interface GlobalEventHandlersEventMap {
8841
8846
  "animationstart": AnimationEvent;
8842
8847
  "auxclick": MouseEvent;
8843
8848
  "beforeinput": InputEvent;
8849
+ "beforetoggle": Event;
8844
8850
  "blur": FocusEvent;
8845
8851
  "cancel": Event;
8846
8852
  "canplay": Event;
@@ -8956,6 +8962,8 @@ interface GlobalEventHandlers {
8956
8962
  onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
8957
8963
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforeinput_event) */
8958
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;
8959
8967
  /**
8960
8968
  * Fires when the object loses the input focus.
8961
8969
  * @param ev The focus event.
@@ -14643,7 +14651,7 @@ declare var MIDIAccess: {
14643
14651
  */
14644
14652
  interface MIDIConnectionEvent extends Event {
14645
14653
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIConnectionEvent/port) */
14646
- readonly port: MIDIPort;
14654
+ readonly port: MIDIPort | null;
14647
14655
  }
14648
14656
 
14649
14657
  declare var MIDIConnectionEvent: {
@@ -14695,7 +14703,7 @@ declare var MIDIInputMap: {
14695
14703
  */
14696
14704
  interface MIDIMessageEvent extends Event {
14697
14705
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIMessageEvent/data) */
14698
- readonly data: Uint8Array;
14706
+ readonly data: Uint8Array | null;
14699
14707
  }
14700
14708
 
14701
14709
  declare var MIDIMessageEvent: {
@@ -17729,6 +17737,7 @@ interface PublicKeyCredential extends Credential {
17729
17737
  declare var PublicKeyCredential: {
17730
17738
  prototype: PublicKeyCredential;
17731
17739
  new(): PublicKeyCredential;
17740
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isConditionalMediationAvailable) */
17732
17741
  isConditionalMediationAvailable(): Promise<boolean>;
17733
17742
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/isUserVerifyingPlatformAuthenticatorAvailable_static) */
17734
17743
  isUserVerifyingPlatformAuthenticatorAvailable(): Promise<boolean>;
@@ -27527,6 +27536,8 @@ declare var onanimationstart: ((this: Window, ev: AnimationEvent) => any) | null
27527
27536
  declare var onauxclick: ((this: Window, ev: MouseEvent) => any) | null;
27528
27537
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/beforeinput_event) */
27529
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;
27530
27541
  /**
27531
27542
  * Fires when the object loses the input focus.
27532
27543
  * @param ev The focus event.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.117",
3
+ "version": "0.0.118",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],