Practical Guide to learn Typescript

Step by Step guide to practice the Typescript
Rating: 3.0 out of 5 (7 ratings)
5,206 students
English
English [Auto]
Use TypeScript and its Features like Types, ES6 Support, Classes, Modules, Interfaces and much more in any of their Projects
Why TypeScript offers a real advantage over vanilla JavaScript
Understand what TypeScript really is about and how it works
Decorators in Typescript

Requirements

  • Basic knowledge of Javascript is requried

Description

TypeScript extends JavaScript by adding types.

By understanding JavaScript, TypeScript saves you time catching errors and providing fixes before you run code.

Any browser, any OS, anywhere JavaScript runs. Entirely Open Source.

TypeScript is an open-source language which builds on JavaScript, one of the world’s most used tools, by adding static type definitions.

Types provide a way to describe the shape of an object, providing better documentation, and allowing TypeScript to validate that your code is working correctly.

Writing types can be optional in TypeScript, because type inference allows you to get a lot of power without writing additional code.


All valid JavaScript code is also TypeScript code. You might get type-checking errors, but that won't stop you from running the resulting JavaScript. While you can go for stricter behavior, that means you're still in control.

TypeScript code is transformed into JavaScript code via the TypeScript compiler or Babel. This JavaScript is clean, simple code which runs anywhere JavaScript runs: In a browser, on Node.JS or in your apps.

Adopting TypeScript is not a binary choice, you can start by annotating existing JavaScript with JSDoc, then switch a few files to be checked by TypeScript and over time prepare your codebase to convert completely.

TypeScript’s type inference means that you don’t have to annotate your code until you want more safety.

Who this course is for:

  • This Course is for every student who wants to learn modern ways to build web applications
  • Everyone learning Angular should definitely understand how TypeScript works

Course content

1 section17 lectures1h 35m total length
  • Typescript Setup
    06:36
  • Basic Types
    02:19
  • Types in Typescript
    10:38
  • Operators, Decisions and Loops
    08:56
  • Function Basics
    07:13
  • Interfaces
    10:20
  • Classes
    13:28
  • Modules
    04:37
  • Generic Types
    05:51
  • Generics in more Depth
    08:23
  • TS Fundamentals source code
    00:02
  • Introduction to Decorators
    03:03
  • Arguments in Method Decorator
    04:31
  • Configurable Decorator using Decorator Factory
    01:46
  • Property Decorator
    04:28
  • Parameter Decorator
    02:15
  • Class Decorator
    00:38

Instructor

Fullstack Javascript Developer/Entrepreneur/Author
Haider Malik
  • 3.5 Instructor Rating
  • 1,533 Reviews
  • 43,379 Students
  • 28 Courses

Haider Malik is the founder of HttpGuy. He is a full-stack Javascript developer. He is passionate about everything JavaScript, and he loves exploring new libraries.

He’s had extensive experience developing software and working with teams to improve how software is developed to meet business objectives.Although his primary focus is on outcomes, implementation often includes technical competency