how to update typescript in angular code example Example: install typescript using npm npm install -g typescript