DEV Community

loading...

Discussion on: Do you prefer TypeScript over vanilla JS?

Collapse
ayoisaiah profile image
Ayooluwa Isaiah

TypeScript makes it really easy to refactor code. You change the type of a value and the build will break, this makes it really easy to know all the places that need to be updated.

Also for auto-completion goodness and correctness checks. So yeah, I prefer to use TypeScript when starting new projects.