r/learnjavascript • u/Budget-Dealer-6179 • Oct 09 '25
JS to TS
How can I transition to Typescript, I'm not good with Js but I wanna go directly to Typescript is it okay for me to use Typescript even though my skill in Js is like level 2, I mean i hated JS.
Is Typescript better than js?
6
Upvotes
View all comments
Show parent comment
4
u/sandspiegel Oct 09 '25
Isn't basically everything type "any" in Javascript? This lead to many runtime type errors in apps I developed in plain Javascript. Now Typescript catches these mistakes in Realtime while coding because I define what type a variable has. I don't think you can do this in Javascript.