Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
TypeScript Crash Course
Rating: 4.5 out of 5(1,174 ratings)
6,876 students

TypeScript Crash Course

Learn the most important features of TypeScript in a short time and apply them to your projects.
Created byJan Schaffranek
Last updated 12/2023
English
Arabic [Auto],Danish [Auto],

What you'll learn

  • Typescript Basics
  • Using Datatypes Annotaions
  • Type Narrowing and Type Guards
  • Interfaces and Types
  • Union and Intersection Types
  • Obejcts and Inheritance

Course content

5 sections38 lectures3h 19m total length
  • Introduction2:52

    Explore TypeScript basics, from installing and compiling to JavaScript, to using type annotations, type narrowing and guards, interfaces, unions and intersection types, and object oriented concepts like classes and inheritance.

  • Software Information0:06
  • Installation of Npm and Typescript2:34

    Install Node.js and npm, verify npm works, install TypeScript globally with npm, and test the TypeScript compiler with tsc to compile ts to js.

  • Course manual1:57

    Download or clone the course code from GitHub and open it in VS Code to follow along. Code along or watch; VS Code supports JavaScript, TypeScript, and Python.

  • Course materials0:03
  • Visual Studio Code - Part 10:46
  • Visual Studio Code - Part 26:56

    Install and configure Visual Studio Code from official page, apply the provided settings JSON, install coding tools extension pack and TypeScript extension pack, and prepare for TypeScript to JavaScript compilation.

  • TSC Compiler and Linter18:18

    Learn to set up a TypeScript project, configure tsconfig, create npm scripts for compile, watch, and start, and run with a local light server to see compiled JavaScript.

Requirements

  • JavaScript Basics

Description

Course description:

The course will show you the most important features of TypeScript. In the beginning, we will install and set up the required software together. After that, we will start with the basics and work our way up to classes and inheritance. You are also welcome to watch the public videos of the course to get a taste of it.

What is TypeScript?

If you haven’t heard of TypeScript yet, it’s a language that builds on JavaScript by adding syntax for static types. Tools like the TypeScript compiler just erase those types, leaving you with clean readable JavaScript that you can run anywhere; but those types are there to be type-checked! Types make your intentions explicit, and tools can read and understand them to catch errors before you even run your code. By checking your types, TypeScript can catch errors like typos, logic errors, and more! Beyond catching errors, TypeScript also uses types to power editor toolings like accurate code completion, go-to-definition, and renaming.

The course has the following topics

  • Installation of TypeScript, NodeJS, and VSCode

  • Type Annotations for Number, String, Boolean, Arrays, Tuples, etc.

  • Functions, Interfaces, and Classes

  • Inheritance and Abstract Classes

  • Importing/exporting from Modules

  • Utility types, keyof, instanceof, and type guards

Become a professional today, in the technology of tomorrow!

See you in class!

Who this course is for:

  • JavaScript Developer
  • TypeScript Developer