typescript icon

TypeScript Basics

Star Rating Star Rating Star Rating Star Rating Star Rating 4.6/5 (813 ratings)
50 lessons 5 hours Up-to-date with v2.8.x
Todd Motto teaching Ultimate Courses

Author: Todd Motto Google Developer expert Google Developer Expert

This comprehensive course takes you on a journey through the TypeScript language, unveiling the many benefits of adopting static types. Explore common practices, the compiler, classes, ES6/7, functions, and everything else you need to unleash your inner TypeScript desire.

Play TypeScript featured video Classes and Inheritance 04:17

Setup and source files

2 lessons

  • Setup instructions

    Readme
  • Source files

    Readme

Introduction

5 lessons

  • What, and why TypeScript?

    07:31
  • TypeScript vs JavaScript

    06:07
  • Installing the TypeScript compiler

    05:03
  • TypeScript compiler (tsc) and tsconfig

    08:10
  • Setting up Webpack for TypeScript

    10:40

ES6/7 and TypeScript

6 lessons

  • Arrow functions and implicit returns

    04:41
  • Default Function parameters

    02:05
  • Object literal improvements

    06:08
  • Rest Parameters

    06:54
  • Array Spread Operator

    02:19
  • Destructuring Arrays and Objects

    06:40

Primitive Types

3 lessons

  • Number Types, arguments and functions

    11:20
  • String Type, String Literals

    05:17
  • Boolean Type

    04:09

TypeScript Types

12 lessons

  • The “Any” Type

    03:27
  • Implicit vs Explicit Types

    03:37
  • Void Type

    03:31
  • Never Type

    01:52
  • Null, Undefined, Strict Null checks

    05:15
  • Union and Literal Types

    04:04
  • Function Types

    06:19
  • Functions and Optional Arguments

    02:28
  • Typed Functions and Default Params

    02:27
  • Object Types

    03:37
  • Array Types and Generics

    04:05
  • Tuple Types for Arrays

    04:27

Type Aliases and Assertions

2 lessons

  • Type Aliases

    05:53
  • Type Assertions

    07:29

Diving into Interfaces

5 lessons

  • Creating Interfaces

    06:04
  • Interfaces with Function Types

    03:15
  • Extending Interfaces

    02:33
  • Interfaces and Optional Properties

    02:00
  • Interfaces with Index Signatures

    03:46

Classes, Properties and Inheritance

9 lessons

  • Understanding Classes and Constructors

    09:16
  • Public and Private Members

    04:59
  • Readonly Members

    02:38
  • Setters and Getters (Accessors)

    06:09
  • Classes and Inheritance

    04:16
  • Abstract Classes

    01:42
  • Protected Members and Inheritance

    03:37
  • Interface contracts with “implements”

    05:38
  • Static Properties and Methods

    04:57

Start learning now

Learn TypeScript <span>Basics</span> the right way TypeScript Basics

50 lessons 5 hours
Star Rating Star Rating Star Rating Star Rating Star Rating
4.6/5 (813 ratings)

$129

$189

$399

$599

$799

$1099

$1299

$1799

$2199

$2899

Everything you could to learn for Angular. The courses ask "why?", and responds with the answers!

Ryan Woodcox Picture

Ryan Woodcox

JavaScript Developer

Get the complete package

30-day money back

Our guarantee shows how confident we are in our courses. We’re proud to be empowering thousands of developers, beginners and experienced pros. If you’re anything less than 110% satisfied, let us know and we’ll refund the course in full.

Student and location discounts

Not-so-good exchange rate? (i.e. India/Brazil). We’re human too, and we’d be happy to help you out with a coupon. If you’re a student, email us from your student email address with a copy of your student ID to see what discounts you qualify for!

Trusted by the developer community

I've come up to speed immediately. I was lost and confused before this course, a brilliant job.

Joe Kahl Picture

Joe Kahl

Senior Engineer

There's no material available like this online all in one place, fantastic.

Dick Swart Picture

Dick Swart

Senior Developer

This course is incredible and laid everything out for me in a few hours. I've fallen in love with NGRX!

Jan van Braeckel Picture

Jan van Braeckel

Full-Stack Developer

The first course I've ever watch to the end. I've immediately grasped NGRX Store and Effects!

Ben Dalton Picture

Ben Dalton

Front-End Engineer

Hands down best start to finish NGRX course available. 10/10.

Alexander Torres Picture

Alexander Torres

IT Specialist

The Angular courses have been indispensable for me getting things done, the right way.

Stephen Smith Picture

Stephen Smith

Founder

The real ultimate guide to Angular. Thank you for all your contributions to the community.

Sherry List Picture

Sherry List

JavaScript

Absolutely love these courses, I've built my first proper app. Recommended to all.

Simon Lewis Picture

Simon Lewis

JavaScript Engineer

The Angular courses are the best you'll find. They've taken our skills to the next level.

Ben Brown Picture

Ben Brown

Lead Engineer

An immense job breaking things down into simple concepts. I would strongly recommend Ultimate Courses.

Houssein Djirdeh Picture

Houssein Djirdeh

JavaScript Engineer

If you want to finally understand Angular and TypeScript, you're in the right place.

Ryan Chenkie Picture

Ryan Chenkie

Product Owner

The essentials of architecture, combined with organisation and advanced tricks.

Johan Chouquet Picture

Johan Chouquet

CTO

The best Angular instructors out there with unrivalled knowledge. First-class Angular courses.

Sebastien Pelletier Picture

Sebastien Pelletier

Technical Team Lead

Crystal clear concepts, meticulously designed examples and projects. Fantastically valuable.

Yiling Lu Picture

Yiling Lu

Senior Developer

Ultimate Courses gives you an edge. Bursts of knowledge that really step up your game.

Simon Dufour Picture

Simon Dufour

JavaScript Developer

Self-paced, comprehensive, real examples from beginning to end, clear and concisely brilliant.

Jacob Cheriathundam Picture

Jacob Cheriathundam

Development Architect

Very few break down concepts in such a digestable way. Full of vital real-world techniques.

Chris Sevilleja Picture

Chris Sevilleja

Co-founder, Scotch.io

Ultimate Courses is a fantastic way for you and your team to start writing quality code.

Nate Murray Picture

Nate Murray

Author of ng-book

Hands down the best courses available. Daunting concepts aren't scary anymore, they're a breeze.

Vatsal Pande Picture

Vatsal Pande

Full-Stack Engineer

I attempted other courses before these, and Ultimate Courses is way ahead and incomparable.

Fabrizio Masini Picture

Fabrizio Masini

JavaScript Developer

The clearest and best produced courses on the market! Clear, concise, packed with best practices.

Kyle Hebert Picture

Kyle Hebert

JavaScript Developer

Everything you could to learn for Angular. The courses ask "why?", and responds with the answers!

Ryan Woodcox Picture

Ryan Woodcox

JavaScript Developer

The content has been well thought out, everything fits together perfectly.

Pranava Balugari Picture

Pranava Balugari

JavaScript Developer

The best resource for anyone wanting to get started with Angular, and go way beyond.

Anish Benjamin Picture

Anish Benjamin

JavaScript Developer

Goodbye books and lectures, hello Ultimate Courses. Intuitive, enlightening, and refreshing.

Chris Cooley Picture

Chris Cooley

Senior Engineer

Extremely helpful in breaking down concepts into something beginners can understand.

Dustin Downs Picture

Dustin Downs

JavaScript Developer

Todd's indepth knowledge of Angular was fantastic, and the TypeScript explanations are superb.

Hung Bui Picture

Hung Bui

Senior Front-End Developer

The best place to get started with Angular, and go straight to the advanced material.

Zhentain Wan Picture

Zhentain Wan

Javascript Developer

Todd condenses all his hard earned knowledge into a time-saving learning process.

Sharon DiOrio Picture

Sharon DiOrio

Lead UI Engineer

You've helped me grasp architecture of Angular apps, and the way it should really be done.

Ritik Rishu Picture

Ritik Rishu

Senior Engineer

A must have for anyone wanting to become an Angular developer. I learned incredible amounts!

Mohammad Aljaber Picture

Mohammad Aljaber

Solutions Architect

Landed my first job after taking these courses, not sure I'd have made it otherwise.

Mateusz Sapielak Picture

Mateusz Sapielak

Systems Developer

Fantastic courses explained incredibly well. Very easy to follow and understand concepts. 10/10.

Nicolas Telfer Picture

Nicolas Telfer

Co-founder

This course is the best resource for learning Angular. The Angular Pro course is incredible.

Victor Hazbun Picture

Victor Hazbun

CEO

A fast track to becoming a super solid Angular developer. Detailed, easy to understand, brilliant.

Mag Leahy Picture

Mag Leahy

Angular Developer

I've learned and understood so much in such a short amount of time, it's unreal!

Christian Eckenrode Picture

Christian Eckenrode

Senior Engineer

The courses are incredible. You've opened the door for me to build real Angular apps.

Juan Henriquez Picture

Juan Henriquez

Full Stack Engineer

I’ve achieved the structure and organisation that is difficult to get on your own. Excellent.

Sergio Sorrentino Picture

Sergio Sorrentino

JavaScript Developer

I've spent $1,500 dollars in the last 6 months trying to learn what you gave me in a single course.

Chris Milford Picture

Chris Milford

Tech Lead

Todd's Angular courses are one of the best online trainings that can be found. A+.

John Oswalt Picture

John Oswalt

Technology Expert