feature request: generate typescript definiton for module
When using AsseblyScript just with the Loader I can have full type support as explained here: https://www.assemblyscript.org/loader.html#typescript-definitions
I want the same when useing as-bind
Or is there a easy way to do this that mised?
Hello! Thank you for the issue! 😄
So, unfortunately, as of right now it's not supported, and it would be a bit of work to have it supported as well. I know we have a really awesome JSON file that as-bind uses to determine types, so I assume we could generate some definitions from that. But, I wouldn't have the time to implement that any time soon.
I'd be happy to review any PRs though if you have the time! Thanks! 😄 🎉
If you point me to where to start I will have a look at it.
[EDIT] sorry - wrong button
Never mind I found where to start. Will open a Draft PR in the next days.