@types/web 0.0.122 → 0.0.124

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 +6 -6
  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.122 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.122.
50
+ You can read what changed in version 0.0.124 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.124.
package/index.d.ts CHANGED
@@ -4180,10 +4180,11 @@ interface CSSStyleDeclaration {
4180
4180
  gridColumn: string;
4181
4181
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-column-end) */
4182
4182
  gridColumnEnd: string;
4183
+ /** @deprecated This is a legacy alias of `columnGap`. */
4183
4184
  gridColumnGap: string;
4184
4185
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-column-start) */
4185
4186
  gridColumnStart: string;
4186
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/gap) */
4187
+ /** @deprecated This is a legacy alias of `gap`. */
4187
4188
  gridGap: string;
4188
4189
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/grid-row) */
4189
4190
  gridRow: string;
@@ -4512,7 +4513,6 @@ interface CSSStyleDeclaration {
4512
4513
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/shape-outside) */
4513
4514
  shapeOutside: string;
4514
4515
  shapeRendering: string;
4515
- speak: string;
4516
4516
  stopColor: string;
4517
4517
  stopOpacity: string;
4518
4518
  stroke: string;
@@ -14673,7 +14673,7 @@ declare var MIDIConnectionEvent: {
14673
14673
  };
14674
14674
 
14675
14675
  interface MIDIInputEventMap extends MIDIPortEventMap {
14676
- "midimessage": Event;
14676
+ "midimessage": MIDIMessageEvent;
14677
14677
  }
14678
14678
 
14679
14679
  /**
@@ -14683,7 +14683,7 @@ interface MIDIInputEventMap extends MIDIPortEventMap {
14683
14683
  */
14684
14684
  interface MIDIInput extends MIDIPort {
14685
14685
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIInput/midimessage_event) */
14686
- onmidimessage: ((this: MIDIInput, ev: Event) => any) | null;
14686
+ onmidimessage: ((this: MIDIInput, ev: MIDIMessageEvent) => any) | null;
14687
14687
  addEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
14688
14688
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
14689
14689
  removeEventListener<K extends keyof MIDIInputEventMap>(type: K, listener: (this: MIDIInput, ev: MIDIInputEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
@@ -14758,7 +14758,7 @@ declare var MIDIOutputMap: {
14758
14758
  };
14759
14759
 
14760
14760
  interface MIDIPortEventMap {
14761
- "statechange": Event;
14761
+ "statechange": MIDIConnectionEvent;
14762
14762
  }
14763
14763
 
14764
14764
  /**
@@ -14776,7 +14776,7 @@ interface MIDIPort extends EventTarget {
14776
14776
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/name) */
14777
14777
  readonly name: string | null;
14778
14778
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/statechange_event) */
14779
- onstatechange: ((this: MIDIPort, ev: Event) => any) | null;
14779
+ onstatechange: ((this: MIDIPort, ev: MIDIConnectionEvent) => any) | null;
14780
14780
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/state) */
14781
14781
  readonly state: MIDIPortDeviceState;
14782
14782
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/MIDIPort/type) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.122",
3
+ "version": "0.0.124",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],