DEV Community

Discussion on: JavaScript vs TypeScript. Why We Should Learn TypeScript?

Collapse
 
matjones profile image
Mat Jones

Good article dude. TypeScript is awesome. Basically, TypeScript prevents you from using things the wrong way, at compile time, which is one of its greatest strengths. Especially when vanilla JavaScript has such a wacky type system.

Collapse
 
jamesthomson profile image
James Thomson

It also plays nicely with most IDE's so Intellisense is much more valuable, especially in very large codebases.

Collapse
 
0815fips profile image
0815fips

You can configure your jsconfig.js properly, add JSDoc and *.d.ts files to be as safe as in TS.