Typed JavaScript at Any Scale - TypeScript extends JavaScript by adding types.
Install TypeScript
PS D:\projects\lthwts> npm install -g typescript D:\nodejs\tsc -> D:\nodejs\node_modules\typescript\bin\tsc D:\nodejs\tsserver -> D:\nodejs\node_modules\typescript\bin\tsserver + typescript@3.8.3 added 1 package from 1 contributor in 4.843s PS D:\projects\lthwts> tsc --version Version 3.8.3 PS D:\projects\lthwts>
Update TypeScript
PS D:\projects\lthwts> npm install -g typescript D:\nodejs\tsc -> D:\nodejs\node_modules\typescript\bin\tsc D:\nodejs\tsserver -> D:\nodejs\node_modules\typescript\bin\tsserver + typescript@4.5.4 updated 1 package in 67.965s PS D:\projects\lthwts> tsc --version Version 4.5.4 PS D:\projects\lthwts>