-
Notifications
You must be signed in to change notification settings - Fork 15
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
Convert to TypeScript #23
Comments
Yes (but after merging #19)! We started using TypeScript not long ago. See https://github.com/mljs?utf8=%E2%9C%93&q=&type=&language=typescript We would not need rollup anymore. The 4 projects are based on this generator: https://github.com/cheminfo/generator-cheminfo/tree/master/generators/typescript |
BTW, the only dependency of this project (ml-matrix) recently got TypeScript definitions: https://github.com/mljs/matrix/blob/master/matrix.d.ts |
No objections from me. I also don't see any reason why it would have to be done by just one person. My recommendation would be (after that other PR lands): create a branch (say |
Personally, I have found writing in TypeScript to be very helpful in catching subtle mistakes (e.g. it would have caught the argument type mismatch in #14). It also has some other perks like good IDE integration (tab-completion, etc.). This project is small so the conversion would not be difficult (and I'd be happy to do it), but I'd like to know the rest of the team's thoughts on this.
rollup-plugin-typescript
?The text was updated successfully, but these errors were encountered: