-
-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The requested module does not provide an export named 'default' #146
Comments
Unfortunately, I am not a TypeScript user and know very little about it. For that reason, WebMidi.js does not officially support TypeScript yet. I am looking to change that for version 3 but will need a knowledgeable TypeScript dev to work on the type definitions. At one point, users have reported that it was working (as you saw in issue #82) . I'm not sure why it isn't working for you. For personal bandwidth reasons, official TypeScript support will not come before version 3 (unless someone chimes in to help). |
Thanks @djipco. I did get the following syntax to work, which I found in the Tone.js/ui library:
A little funky, but it works! |
@michaelcaterisano Thank you so much for taking the time to report back. It will probably be helpful to others. I added your technique to the README. |
I tentatively added a By the way, this is in the develop branch for v3. |
Trying to interface a simple SPA application to my Fishman TriplePlay Controller. Using v.2.5.2
|
oops, sorry, will do. |
I'm trying out webmidi 2.5.2 in a typescript environment and am getting an error when importing webmidi like this:
import Webmidi from "webmidi";
.I also tried
import * as WebMidi from "webmidi"
, but then I get the following error:The text was updated successfully, but these errors were encountered: