Hacker News new | ask | show | jobs
by pjerem 1610 days ago
Well, typescript being a superset of JavaScript, you can use TypeScript compiler and just write plain JavaScript.

The only difference is that you’ll be warned when you write inconsistent (buggy) code. And that your IDE will autocomplete with only compatible values.

There is absolutely no way typescript slows down development, you’re just totally free to ignore any or all of it. But it will help you more than you imagine.

tbf, the only valid reason not to use ts today is if your code targets directly the browser without any build step and is referenced as is by your html.