Skip to content

Commit

Permalink
Merge pull request #252 from mjwilson-google/168-require-init
Browse files Browse the repository at this point in the history
Make MIDIMessageEvent data MIDIConnectionEvent port nullable
  • Loading branch information
mjwilson-google committed Oct 6, 2023
2 parents 21b4bc8 + a53a40c commit 5d8e193
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ <h2 id="MIDIMessageEvent">
[SecureContext, Exposed=Window]
interface MIDIMessageEvent : Event {
constructor(DOMString type, optional MIDIMessageEventInit eventInitDict = {});
readonly attribute Uint8Array data;
readonly attribute Uint8Array? data;
};
</pre>
<dl>
Expand Down Expand Up @@ -1282,7 +1282,7 @@ <h2 id="MIDIConnectionEvent">
[SecureContext, Exposed=Window]
interface MIDIConnectionEvent : Event {
constructor(DOMString type, optional MIDIConnectionEventInit eventInitDict = {});
readonly attribute MIDIPort port;
readonly attribute MIDIPort? port;
};
</pre>
<dl>
Expand Down

0 comments on commit 5d8e193

Please sign in to comment.