Skip to content

Commit

Permalink
Make types nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Wilson committed Oct 5, 2023
1 parent b45b011 commit 82fd9c4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1206,8 +1206,8 @@ <h2 id="MIDIMessageEvent">
<pre class="idl">
[SecureContext, Exposed=Window]
interface MIDIMessageEvent : Event {
constructor(DOMString type, MIDIMessageEventInit eventInitDict);
readonly attribute Uint8Array data;
constructor(DOMString type, optional MIDIMessageEventInit eventInitDict = {});
readonly attribute Uint8Array? data;
};
</pre>
<dl>
Expand All @@ -1227,7 +1227,7 @@ <h2 id="MIDIMessageEventInit">
</h2>
<pre class="idl">
dictionary MIDIMessageEventInit: EventInit {
required Uint8Array data;
Uint8Array? data;
};
</pre>
<dl>
Expand Down Expand Up @@ -1281,8 +1281,8 @@ <h2 id="MIDIConnectionEvent">
<pre class="idl">
[SecureContext, Exposed=Window]
interface MIDIConnectionEvent : Event {
constructor(DOMString type, MIDIConnectionEventInit eventInitDict);
readonly attribute MIDIPort port;
constructor(DOMString type, optional MIDIConnectionEventInit eventInitDict = {});
readonly attribute MIDIPort? port;
};
</pre>
<dl>
Expand All @@ -1301,7 +1301,7 @@ <h2 id="MIDIConnectionEventInit">
</h2>
<pre class="idl">
dictionary MIDIConnectionEventInit: EventInit {
required MIDIPort port;
MIDIPort? port;
};
</pre>
<dl>
Expand Down

0 comments on commit 82fd9c4

Please sign in to comment.