-
-
Notifications
You must be signed in to change notification settings - Fork 123
Closed
Labels
Context: TypeScriptProblem specific to TypeScriptProblem specific to TypeScriptType: bugVerified malfunctionVerified malfunction
Description
my environment is next.js. when i attach the following listener;
WebMidi.addListener("disconnected", (e) => {
e.port.removeListener()
})
i get this error TypeError: e.port.removeListener is not a function
i tried e.target.removeListener()
i don't get the error, but i also don't think it removes the listener(s).
Metadata
Metadata
Assignees
Labels
Context: TypeScriptProblem specific to TypeScriptProblem specific to TypeScriptType: bugVerified malfunctionVerified malfunction