Skip to content

connected/disconnected event emiter not properly exported #226

@glend1

Description

@glend1

thought i had a issue open for this, but i can't seem to find it so im reposting. sorry if im just being blind.

when I do the following

WebMidi.addListener("connected", (e) => { console.log(e.target.name)});

i get the following typescript error

Property 'name' does not exist on type 'Input | WebMidi | InputChannel | Output'.
    Property 'name' does not exist on type 'WebMidi'.ts(2339)

Metadata

Metadata

Assignees

Labels

Type: bugVerified malfunction

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions