-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
midi is read-only (typescript error?) #3
Comments
Never tried in from Typescript, only from JavaScript... |
im just importing it.
|
Then just ignore the warning. |
I had a different error ("MidiSrc is not a constructor") which was resolved when I changed my import statement from the above to this:
To test if the two are related, I changed my import statement back to what's in the README and tried setting TL;DR: I think the import statement listed in the README for TypeScript doesn't work, at least in our two cases. The import statement I listed above worked for my different situation, and it also worked when I replicated OP's situation to the best of my ability. Might be worth a change to the README, but I wasn't using TypeScript so I don't know for sure. |
when i try to use the following i get an error in my ide
midi
is read-only.I dont know why this is happening, but the code seems to complete anyway because midi is failing as expected. so I assume this is a problem with the typescript definition.
The text was updated successfully, but these errors were encountered: