Available on js
@:value(cast "closed")@:impl@:enuminlineread onlyCLOSED:MIDIPortConnectionState = "closed"
@:value(cast "open")@:impl@:enuminlineread onlyOPEN:MIDIPortConnectionState = "open"
@:value(cast "pending")@:impl@:enuminlineread onlyPENDING:MIDIPortConnectionState = "pending"