DEV Community

Discussion on: Setup Node/Express with TypeScript

Collapse
 
tombohub profile image
tombohub

why?

Collapse
 
himharsh1997 profile image
Himanshu Joshi

So that you can use typescript along all projects with same version and do tsc --watch to build js from it.
Actually for majority it is not a prefer way as different developer may be using different version of typescript. So you can also do npm i --save-dev typescript or install extension from code editor.