Skip to content

Install TypeScript

Tip

This course has been updated. For the newer content, please visit Create Course Boilerplate

Video Lecture

Install TypeScript

 (Pay Per View)

You can use PayPal to purchase a one time viewing of this video for $1.49 USD.

Pay Per View Terms

  • One viewing session of this video will cost the equivalent of $1.49 USD in your currency.
  • After successful purchase, the video will automatically start playing.
  • You can pause, replay and go fullscreen as many times as needed in one single session for up to an hour.
  • Do not refresh the browser since it will invalidate the session.
  • If you want longer-term access to all videos, consider purchasing full access through Udemy or YouTube Memberships instead.
  • This Pay Per View option does not permit downloading this video for later viewing or sharing.
  • All videos are Copyright © 2019-2025 Sean Bradley, all rights reserved.

Description

This is a code heavy course, and we want our code to be robust, So we will be writing it in typescript. This will also enable advanced Intellisense features in our VSCode so that we can quickly see the available methods and properties in our Three.js scripts, and also have extra documentation available to us much quicker.

Install TypeScript globally and confirm which version is installed

npm install --location=global typescript
tsc -v

Troubleshooting

Error : tsc.ps1 cannot be loaded because running scripts is disabled on this system

If you run tsc -v, and are using PowerShell as the VSCode integrated terminal, then you may see the error

tsc.ps1 cannot be loaded because running scripts is disabled on this system

You have several options, such as run your commands using the classic Windows CMD prompt, Git Bash or use the tsc.cmd option instead.

tsc.cmd -v