@types/web 0.0.122 → 0.0.123
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 +4 -4
- 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.123 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.123.
|
package/index.d.ts
CHANGED
|
@@ -14673,7 +14673,7 @@ declare var MIDIConnectionEvent: {
|
|
|
14673
14673
|
};
|
|
14674
14674
|
|
|
14675
14675
|
interface MIDIInputEventMap extends MIDIPortEventMap {
|
|
14676
|
-
"midimessage":
|
|
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:
|
|
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":
|
|
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:
|
|
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) */
|