Skip to content
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

feature request: generate typescript definiton for module #98

Open
mathe42 opened this issue Sep 24, 2021 · 3 comments
Open

feature request: generate typescript definiton for module #98

mathe42 opened this issue Sep 24, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@mathe42
Copy link
Contributor

mathe42 commented Sep 24, 2021

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?

@torch2424 torch2424 added the enhancement New feature or request label Sep 24, 2021
@torch2424
Copy link
Owner

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! 😄 🎉

@mathe42
Copy link
Contributor Author

mathe42 commented Sep 24, 2021

If you point me to where to start I will have a look at it.

[EDIT] sorry - wrong button

@mathe42 mathe42 closed this as completed Sep 24, 2021
@mathe42 mathe42 reopened this Sep 24, 2021
@mathe42
Copy link
Contributor Author

mathe42 commented Sep 24, 2021

Never mind I found where to start. Will open a Draft PR in the next days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants