Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
March 24, 2022 09:50 am GMT

What does typescript add onto JavaScript

Hello everyone today I am here to discuss and here your comments on what typescript adds to JavaScript and what cases it should be used in.

In my personal opinion and just recently switching from JavaScript to typescript I can definitely say typescript is amazing and should be used in a lot of places.

One of the main places I think should use typescript is in npm packages as it can help debugging with type safety.

Although I do believe JavaScript still has a place being used to develop websites with pure html, css, and js. The reason i say this is because I believe it is easier it interface with then typescript as you skip the compiling step.

My main point is that if you use JavaScript for developing npm packages or just developing in general, you should give typescript a shot. If you need help developing a tsconfig file you can use my tsconfig as a baseline.

If you have anything else to add please let me know, as I would be glad to add more info to the post

Have a nice day and happy programming


Original Link: https://dev.to/mreggo/what-does-typescript-add-onto-javascript-48be

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To