Just create a new vanilla ts project
tsc --init
or
npx tsc --init
-
Find the outdir in the ts config and change it to "./dest" to compile the ts to js scripts and save their
-
Otherwise the .js equivalent will be generated in the same folder as that of .ts
tsc
It will autmatically converts the .ts to .js
tsc --watch
Change module to "ES6" in tsconfig
Some of the libraries like uuid dont provide types by default. Either download it or write your own You can download them by hovering around the import