typescript update version code example Example: how to update typescript npm install -g typescript@latest