npm install -g typescript. Should I install Typescript globally or at DevDependency ? And does it matter ?
Also I use VSCode, when I compile the script using
tsc script.ts and open the
script.js I got an error at typescript file
Duplicate identifier 'some variable'
'some variable' was also declared here. But if I close the
.js file and only open the
.ts file, the errors is gone. The script is just fine.
I really appreciate for all of your responses. Thank you