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

Support typescript #81

Closed
woodser opened this issue Mar 1, 2022 · 4 comments
Closed

Support typescript #81

woodser opened this issue Mar 1, 2022 · 4 comments

Comments

@woodser
Copy link
Owner

woodser commented Mar 1, 2022

This issue requests supporting typescript.

@hundehausen
Copy link

Hello @woodser how is it doing with TypeScript support? We at TipXMR could really make use of the types.

@woodser
Copy link
Owner Author

woodser commented Nov 19, 2022

This PR in progress is successfully generating types and using them in typescript tests: #108

Remaining work is to add jsdocs throughout the models to generate all type information.

The PR also switches from require() to import() syntax, so it'll be bigger breaking change.

I'd like to close it out but the issue is finding time to finalize everything. There's still quite a bit left to do if anyone can continue developing the PR.

npm run emit_typedefs_linux.sh or npm run emit_typedefs_mac.sh generates the typedefs and then npm run test -- --grep "Sample code demonstration" will run a test with the types.

@plowsof
Copy link

plowsof commented Sep 2, 2023

a bounty for this to be completed has been set up https://bounties.monero.social/posts/80 (currently at 2 xmr)

@woodser
Copy link
Owner Author

woodser commented Oct 2, 2023

This issue is completed with #108 and released in monero-ts v0.9.2.

@woodser woodser closed this as completed Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants