This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Choose the best response for each of the following questions:
It's not necessary because you only need to rename the TypeScript file with a .js extension for it to work.
TypeScript includes code features that aren't compatible with browsers.
What does the command npm install -g typescript do?
npm install -g typescript
Installs npm so you can install TypeScript.
Installs the TypeScript compiler globally on the machine.
Installs Node.js and npm.
You must answer all questions before checking your work.
Need help? See our troubleshooting guide or provide specific feedback by reporting an issue.
Was this page helpful?