While using midi-writer-js in TypeScript, I noticed that some methods were not being auto-completed, so I created this PR.
In the above, Track.controllerChange and others are not listed.
By adjusting tsconfig.json, it is possible to automatically output d.ts files under build/types when running npm run build, so I have changed it to automatically output at build time.
With this PR method, type definition files will be output to build/types and browser/types when running npm run build.
I believe this may result in a change in the project's policy, so please consider it.
Screenshots
As far as I have reflected the changes in node_modules/midi-writer-js of my project, I have confirmed that Track.controllerChange is also auto-completed by this method.
Description
Thank you for the wonderful library!
While using midi-writer-js in TypeScript, I noticed that some methods were not being auto-completed, so I created this PR.
Track.controllerChange
and others are not listed.By adjusting tsconfig.json, it is possible to automatically output d.ts files under build/types when running npm run build, so I have changed it to automatically output at build time.
With this PR method, type definition files will be output to build/types and browser/types when running npm run build. I believe this may result in a change in the project's policy, so please consider it.
Screenshots
As far as I have reflected the changes in node_modules/midi-writer-js of my project, I have confirmed that
Track.controllerChange
is also auto-completed by this method.