Can you elaborate on con 3?
All JavaScript is valid TypeScript. And the @types repo as a lot of typings for libraries that don't ship with typing themselves.
@types
You can use the libraries in TypeScript without hassle nearly all times, as the TypeScript is transpiled back to JavaScript anyway.
Normally you are consuming a third party library, not injecting your code into it. I feel like I'm missing part of the explanation of your con?
Thank you for pointing this out 😊 I have updated the article with a comment at the bottom.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Can you elaborate on con 3?
All JavaScript is valid TypeScript.
And the
@types
repo as a lot of typings for libraries that don't ship with typing themselves.You can use the libraries in TypeScript without hassle nearly all times, as the TypeScript is transpiled back to JavaScript anyway.
Normally you are consuming a third party library, not injecting your code into it. I feel like I'm missing part of the explanation of your con?
Thank you for pointing this out 😊 I have updated the article with a comment at the bottom.