typescipt ControlChangeMessageEvent
includes { channel: number }
which is actually undefined.
#427
Labels
Context: TypeScript
Problem specific to TypeScript
Type: documentation
Issue that highlights an imprecision in the documentation
Description
This appears with auto-completion etc and can lead to writing something like
e.channel === channel
rather thane.message.channel === channel
.Environment:
"webmidi": "^3.1.9"
as freshly installed via npm.Browser ESM, Vite, TS, React etc.
The text was updated successfully, but these errors were encountered: