Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
Let's create a simple TypeScript project. For this video, you'll need to have node.js installed.
If you downloaded TypeScript locally, you donβt have the tsc command so you can't run tsc --version
or tsc index.ts
to compile into a js file.
To follow along, youβll need to add npx
before the commands that I enter, so npx tsc --version
for example.
Resources
Related Course
Note
Instructor has the Error Lens extension installed. This causes the errors to be shown in line with the code. If you donβt install the extension you can view the errors by hovering over the red squiggle line.
Note
All shortcuts mentioned in this course are for macOS operating systems. For Microsoft Windows systems, please use Control (Ctrl) instead of Command (Cmd), and use Alt instead of Option.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up