-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
⛵ Port the codebase to typescript #371
Comments
Originally posted by @scagood in #367 (comment) |
I'm fully with @scagood on this – I see no reason to swap JSDoc for TS syntax – they are both first class syntaxes supported by the TypeScript type checker |
I wanted to add some pros for
|
What do you think either way? |
I like typescript + jsdoc: easier to write some advanced types, and no build needed just like before. 😄 |
It's exactly for these kind of things that I think having this build step makes more sense |
Bugs can happen anywhere in the TS type declaration generation. If we want to guard against it then we should either manually create the type declarations or add tests for the generated ones. We can actually remove the type declaration generation from this plugin as the only types that gets uploaded and used are the 5-10 lines of The internal type checking is the more important and useful one. |
I am not sure I agree that because that problem was simply mitigated that was should dismiss it as not a problem 🤔 I do however think that we should test the |
🤔 I think I am going to close this as 'wont do' -- let me know if there is a compelling reason to re-open |
Originally posted by @MichaelDeBoey in #367 (review)
The text was updated successfully, but these errors were encountered: