DEV Community

Discussion on: TypeScript before JavaScript?

Collapse
 
martinhaeusler profile image
Martin Häusler • Edited

Don't worry - you can't go wrong with TypeScript. You'll learn a bit more syntax, but you also get better tooling (code completion, error checking etc.) out of the box. I would advise to ALWAYS code in TypeScript instead of JavaScript. If you absolutely can't and you have to use vanilla JS for some reason, all you need to do is to drop the type declarations and change the file ending.

You do NOT waste your time learning TypeScript.