Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
TypeScript for Absolute Beginners
Rating: 4.5 out of 5(541 ratings)
13,933 students

TypeScript for Absolute Beginners

Learn Only The Absolute Basics of TypeScript Applicable to All TypeScript Projects.
Created bySean Bradley
Last updated 6/2024
English

What you'll learn

  • TypeScript Basics for Beginners
  • Setting up a development environment
  • Install TypeScript and check it's version
  • We compare JavaScript and TypeScript files
  • We compile TypeScript into different EcmaScript Formats
  • We look at Type Annotations with Primitive types and Unions
  • We look at Interfaces and Types
  • We look at Classes
  • We compile our JaveScript to run both in NodeJS and in the browser

Course content

1 section8 lectures38m total length
  • Setup Development Environment2:18

    Install IDE, Git and NodeJS

    1. VSCode - https://code.visualstudio.com/

    2. NodeJS - https://nodejs.org/

  • Install TypeScript1:22

    Install TypeScript globally

    $ npm install -g typescript

    Confirm which version is installed

    $ tsc -v


  • Create your first TypeScript file8:11

    We compare JavaScript and TypeScript files and then compile them to different ES compatible formats.

  • Type Annotations8:25

    We experiment with Type Annotations and enforce primitive types and unions.

  • Interfaces and Type Aliases7:35

    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.

  • Classes4:39

    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.

  • Run the compiled JavaScript in the browser2:37

    We compile our TypeScript into ES3 compatible JavaScript and then run it in the browser.

  • Next Steps3:27

    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.

Requirements

  • A Computer that you can install VSCode, Git (Optional) and NodeJS
  • A desire to Code, and especially using TypeScript

Description

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.








Who this course is for:

  • People interested in starting to learn TypeScript
  • People who want to know enough about TypeScript for it to be useful