You can update typescript to the latest version using npm :
Check current version : tsc --version
tsc --version
Update npm : npm install npm@latest -g
npm install npm@latest -g
Upgrade typescript : npm -g upgrade typescript
npm -g upgrade typescript