
Install IDE, Git and NodeJS
VSCode - https://code.visualstudio.com/
NodeJS - https://nodejs.org/
Install TypeScript globally
$ npm install -g typescript
Confirm which version is installed
$ tsc -v
We compare JavaScript and TypeScript files and then compile them to different ES compatible formats.
We experiment with Type Annotations and enforce primitive types and unions.
In TypeScript, Interfaces and Type declarations offer almost the same exact functionality, in this video we explore that idea.
An Interface/Type is a structure used for type-checking.
An Interface/Type defines the properties and types an object can have.
A Class is essentially a blueprint of what an object is supposed to look like when implemented.
A Class can have initialized properties and methods to help create and modify the objects.
We compile our TypeScript into ES3 compatible JavaScript and then run it in the browser.
Well done for finishing this quick course on TypeScript for Absolute Beginners. You now know whether you want to take TypeScript further into your career.
Please consider taking one of my more extensive TypeScript courses where I specialise in other libraries such as SocketIO, Threejs and Design Patterns which can be used very quickly and effectively with TypeScript.
This is a quick and FREE introductory course on the absolute basics of TypeScript that are applicable to ALL TypeScript Projects and suitable if you have never done TypeScript before.
It is also a great introduction for my other more advanced TypeScript courses on Three.js, SocketIO and Design Patterns.
In this absolute beginners course I will concentrate on just the most common basics of TypeScript that are applicable to every TypeScript project that you will create or continue from now and into the future.
This course is only 30 minutes long, is very easy and has accompanying documentation that you can access for FREE from the video resources so that you can more easily copy and paste what I do in the videos.
Every video continues on from the next, expanding on the TypeScript concepts you have learned so far.
You should copy what I do in the videos on your own computer and then experiment with the code and the new concepts you've learned after each video so that you feel more comfortable.
TypeScript is very useful for writing robust and type safe code very quickly and extends your IDE to be a significantly more powerful tool when programming.
Thanks for taking part in my TypeScript for Absolute Beginners course, and I'll see you there.