Mastering TypeScript - Second Edition [Video]

Preview in Mapt

Mastering TypeScript - Second Edition [Video]

David Sherret

1 customer reviews
Write better code with TypeScript’s language features

Quick links: > What will you learn?> Table of content

Video
$106.25
RRP $124.99
Save 14%
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$106.25
RRP $124.99

Frequently bought together


Mastering TypeScript - Second Edition [Video] Book Cover
Mastering TypeScript - Second Edition [Video]
$ 124.99
$ 106.25
Mastering TypeScript - Second Edition Book Cover
Mastering TypeScript - Second Edition
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $129.98
Add to Cart

Video Details

ISBN 139781788832793
Course Length3 hours 31 minutes

Video Description

Writing large applications in JavaScript is a challenge. TypeScript brings JavaScript down to earth by providing optional static typing and future JavaScript features today. TypeScript gives the developer instant feedback on the code they are writing in order to catch mistakes earlier in the development process. Since it is transpiled to JavaScript, developers can take advantage of future JavaScript language features today.

This course will take you on a journey through interacting with the type system to working efficiently with more advanced features of the language. It will strengthen your knowledge of TypeScript and help you see the benefits it brings. We use an example-based approach that walks you through a restaurant ordering sample application. In addition, we go one step further by showing you how to automate custom checks on a code base and how to close statically typed gaps.

Style and Approach

An advanced guide for TypeScript filled with example-based walkthroughs and best practices.

Table of Contents

Getting Started
The Course Overview
Sample Application Overview
Compiling TypeScript in the Sample Application
Deploying the Type System
Avoiding the any Type
Implicit or Explicit Types
Being Aware of Structural Typing
Type Composition
object Type
Getting Specific with Literal Types
Mapped Types for Greater Flexibility
never Type
Representing Data Objects
Enforcing Strictness
Reducing Mistakes While Being Implicit
Getting Serious with Strict Null Checks
Compiler Options for Added Support
Enforcing Rules and Coding Standards
Verification with Syntax Tree Navigation
Moving to ES6 Classes
Introduction: Before Moving
Class-Like Pre-ES6 Patterns to TypeScript
Class-Like Pre-ES6 Patterns to TypeScript (Continued)
Static Class-Like Patterns in TypeScript
Shortening a Class with Parameter Properties
When to Use Arrow Function Properties
Interacting with the Type System
Assert and Guard
Making the Most of Type Guarding
Multiple Function Signatures
Rest and Spread
Extending Built-In Types
Code Refactoring
Language Features for Code Improvement
Making the Most of let and const
Working with Strings
Enums
Const Enums Versus Enums
Moving to ES6 Modules
Destructuring
Representing JavaScript Libraries
Definition Files
Writing a Definition File
Static Typing JavaScript Libraries on the Run
Downloading and Managing Definition Files
Included Definition Files
Advanced ES6 and Beyond Features
Introduction to Generators
Improving Performance and Efficiency with Generators
Easier Asynchronous Code with Async/Await
Harnessing the Power of Decorators
Advanced Decorators

What You Will Learn

  • Compile the sample application and analyze its overall structure
  • Understand TypeScript’s type system and how to use it more effectively
  • Utilize the information from static types to enforce strictness and reduce mistakes
  • Broaden your knowledge of ES6 classes and how they relate to class-like pre-ES6 patterns
  • Interact efficiently with the type system for better structured code
  • Familiarize yourself with using JavaScript libraries in TypeScript
  • Improve your code with TypeScript language features
  • Use advanced experimental ES6, ES7, and ES8 features

Authors

Table of Contents

Getting Started
The Course Overview
Sample Application Overview
Compiling TypeScript in the Sample Application
Deploying the Type System
Avoiding the any Type
Implicit or Explicit Types
Being Aware of Structural Typing
Type Composition
object Type
Getting Specific with Literal Types
Mapped Types for Greater Flexibility
never Type
Representing Data Objects
Enforcing Strictness
Reducing Mistakes While Being Implicit
Getting Serious with Strict Null Checks
Compiler Options for Added Support
Enforcing Rules and Coding Standards
Verification with Syntax Tree Navigation
Moving to ES6 Classes
Introduction: Before Moving
Class-Like Pre-ES6 Patterns to TypeScript
Class-Like Pre-ES6 Patterns to TypeScript (Continued)
Static Class-Like Patterns in TypeScript
Shortening a Class with Parameter Properties
When to Use Arrow Function Properties
Interacting with the Type System
Assert and Guard
Making the Most of Type Guarding
Multiple Function Signatures
Rest and Spread
Extending Built-In Types
Code Refactoring
Language Features for Code Improvement
Making the Most of let and const
Working with Strings
Enums
Const Enums Versus Enums
Moving to ES6 Modules
Destructuring
Representing JavaScript Libraries
Definition Files
Writing a Definition File
Static Typing JavaScript Libraries on the Run
Downloading and Managing Definition Files
Included Definition Files
Advanced ES6 and Beyond Features
Introduction to Generators
Improving Performance and Efficiency with Generators
Easier Asynchronous Code with Async/Await
Harnessing the Power of Decorators
Advanced Decorators

Video Details

ISBN 139781788832793
Course Length3 hours 31 minutes
Read More
From 1 reviews

Read More Reviews

Recommended for You

Mastering TypeScript - Second Edition Book Cover
Mastering TypeScript - Second Edition
$ 39.99
$ 28.00
Learning TypeScript Fundamentals [Video] Book Cover
Learning TypeScript Fundamentals [Video]
$ 124.99
$ 106.25
Angular Fundamentals with TypeScript [Video] Book Cover
Angular Fundamentals with TypeScript [Video]
$ 124.99
$ 106.25
Mastering Node.js - Second Edition Book Cover
Mastering Node.js - Second Edition
$ 39.99
$ 28.00
OpenCV 3.x with Python By Example - Second Edition Book Cover
OpenCV 3.x with Python By Example - Second Edition
$ 35.99
$ 25.20
TypeScript 2.x By Example Book Cover
TypeScript 2.x By Example
$ 35.99
$ 25.20