-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add TypeScript Support #6
Comments
Thanks Alex, that is a good idea. I will look into what’s involved. I think adding a May also be worth reconsidering the file structure and build scripts to output a more clean, 2021 compatible dependency structure for this lib. I’m no longer compiling my recent work to CommonJS and would prefer to distribute ES6 compatible imports by default for everything—but have not gone back and amended Rung to support this way of doing things. |
@alex-barber FYI I’ve completed the ESM compatible build changes and begun work on converting this lib to TypeScript. I can potentially publish a new version now with a |
@maetl I would be very excited to help! Thanks much for remembering my comment, I appreciate it. Let me know what you think some good first steps could be. |
@alex-barber thanks for responding. I think a good place to start would be testing the TypeScript definition for the main package when |
There is some additional work needed to remove a bunch of stray After that, I’d like to take a look at the definition of algorithms and define these functions as a type that takes a Haven’t thought much further than this. I will go through and add docs bit by bit over the next few days when I have time. |
Hello, sorry for the late reply! I have been using rung in a few TS projects this past month and it has worked like a charm, it's really been a huge help. Thanks so much for making it ✌️ The only thing I've noticed is that the documentation is slightly inaccurate, As far as IDE completions go, I was initially confused by the output when calling |
Thanks for the excellent feedback on improvements to the docs. Missing I will look into the |
It would be great to use this in TypeScript projects. I don't know much about publishing typescript packages on NPM, but I'd happily try and contribute towards that effort.
The text was updated successfully, but these errors were encountered: