An Introduction to TypeScript

Video Description

Master TypeScript basics

About This Video

  • Understand the fundamentals of TypeScript
  • Learn to write TypeScript code

In Detail

TypeScript, often labeled as a superset of JavaScript, has recently gained momentum. Think about it as JavaScript but supercharged. TypeScript has become increasingly popular thanks to the rise in frameworks such as Angular2+ and many other frontend frameworks that implement TypeScript or provide TypeScript-specific implementations.

You might think that TypeScript is an easy language to learn; however, to successfully create applications using TypeScript, you must first understand the wide variety of features it offers. This course will lay a foundation for you to start writing TypeScript code. Understanding the fundamentals will make it easy for you understand code written in Angular2+ and TypeScript.

Publisher Resources

Download Example Code

Table of Contents

  1. Chapter 1 : ECMAScript 2015
    1. ECMA International 00:02:40
    2. const' and 'var' - new ways to declare variables 00:04:09
    3. Working with Objects and Arrays the ES2015 way 00:07:02
    4. Arrow functions 00:06:19
    5. Rest, Spread operator and Default function parameters 00:04:17
    6. Template literals 00:02:14
    7. Classes in ECMAScript 2015 00:06:33
    8. Modules (in TypeScript) 00:05:34
  2. Chapter 2 : Setting up your environment
    1. Installing a code editor (Visual Studio Code) 00:03:50
    2. Configuring TypeScript via tsconfig.json 00:07:26
    3. Executing TypeScript code 00:02:38
  3. Chapter 3 : Primitive Data Types in TypeScript
    1. Boolean 00:02:00
    2. Number 00:01:22
    3. String 00:00:53
    4. Using all primitive data types 00:02:37
  4. Chapter 4 : Non-Primitive Data Types
    1. Arrays 00:04:32
    2. Tuple 00:02:43
    3. Enum 00:03:02
    4. any 00:02:09
    5. never 00:02:02
    6. null & undefined 00:02:45
    7. void 00:01:14
    8. functions 00:01:40
    9. type 00:01:37
    10. Type Assertion 00:03:31
    11. Objects 00:02:08
  5. Chapter 5 : Object Oriented TypeScript - Part 1
    1. Interfaces 00:07:07
    2. Type vs Interface 00:02:52
    3. Using the 'extends' keyword 00:02:50
    4. Interface - index signature 00:01:56
  6. Chapter 6 : Object Oriented TypeScript - Part 2
    1. Data types and optional parameters for functions 00:02:07
    2. Classes in TypeScript 00:03:50
    3. Access modifiers 00:04:30
    4. Using the 'implements' keyword 00:01:25
    5. Creating abstract classes and methods 00:03:26
    6. Putting everything together 00:08:15
  7. Chapter 7 : Generics
    1. Using generics in TypeScript 00:03:48
  8. Chapter 8 : Typings, Transpilation and Debugging
    1. Typings for third party libraries 00:07:12
    2. Use Webpack with TypeScript for transpilation 00:07:12
    3. Linting TypeScript code 00:05:23
    4. Enable linting via Webpack 00:02:28
    5. Debugging TypeScript code 00:04:03
    6. Use SystemJS with TypeScript 00:04:20
    7. Use RequireJS with TypeScript 00:01:56

Product Information

  • Title: An Introduction to TypeScript
  • Author(s): Full Stack Training Limited
  • Release date: April 2019
  • Publisher(s): Packt Publishing
  • ISBN: 9781838820275