Site Overlay

How to upgrade to the latest TypeScript 3.8 version?


TypeScript 3.8 is already released with powerful new features, how can you upgrade to this latest version?


At the time of this answer, TypeScript version 3.8.3 is released. You can very easily upgrade to this version using one of the following methods:

  • Upgrade via npm, by simply running the npm install typescript@latest or npm -g upgrade typescript (use the -g option if you’re using it globally) commands.
  • For Visual Studio users, you can upgrade by simply downloading the latest version from this link,
  • For Visual Studio Code, you can upgrade to the latest version by adjusting the user settings or the workspace settings,
  • For Sublime Text, you can upgrade to the latest version using the PackageControl

You can verify that you have the latest TypeScript version by running the following command in your terminal:

tsc --version