An error occured adding a product to your cart, you may only have 100 items in your cart.

Mastering TypeScript [Video]

Mastering TypeScript [Video]

David Sherret

1 customer reviews
Explore TypeScript in depth with detailed examples and put it all into practice by building a project
Mapt Subscription
FREE
€29.98/m after trial
Video
€86.70
RRP €101.98
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
€0.00
€86.70
€29.98p/m after trial
RRP €101.98
Subscription
Video
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Video Details

ISBN 139781782175650
Course Length3 hours and 13 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.

Mastering TypeScript will take you on a journey from understanding and interacting with the type system to working efficiently with more advanced features of the language.

We’ll start by introducing a simple client/server application. Then use the application to demonstrate key components of the TypeScript language.

Once the sample application is set up, we’ll look in detail at TypeScript’s type system. Then we take a look at more advanced language features, learn to deal with JavaScript libraries, and finally use TypeScript to utilize static typing between parts of an application.

Mastering TypeScript will help you write better TypeScript code and gain a deeper understanding of the language.

Style and approach

The course is built around a restaurant ordering application, where the topics will be explained using sample based examples. The course will compare JavaScript to TypeScript covering the pros that TypeScript has to offer, along with advanced techniques and best practices.

Table of Contents

Getting Started
The Course Overview
Sample Application Overview
Compiling TypeScript in the Sample Application
Deploying the Type System
Implicit or Explicit Types
Avoiding the "any" Type
Being Aware of Structural Typing
Type System Troubles
Compiler Options for Added Support
Enforcing Rules and Coding Standards
Moving to ES6 Classes
Introduction – Before Moving
Class-like JavaScript Patterns to TypeScript (Part 1)
Class-like JavaScript Patterns to TypeScript (Part 2)
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
Representing JavaScript Libraries
Definition Files
Writing a Definition File
Strong Typing JavaScript Libraries on the Run
Downloading and Managing Definition Files
Included Definition Files
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
Advanced ES6 and ES7 Features
Introduction to Generators
Improving Performance and Efficiency with Generators
Easier Asynchronous Code with async/await
Harnessing the Power of Decorators
Advanced Decorators
Bridging Statically Typed Gaps
Sharing Code Across Applications
Bridging with Interfaces
Bridging with Code Generation
Using TSX Files

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.
  • Broaden your knowledge on ES6 classes and how they relate to class-like JavaScript patterns.
  • Familiarize yourself with JavaScript libraries in TypeScript.
  • Improve your code with TypeScript language features.
  • Use advanced experimental ES6 and ES7 features.
  • Create static typing between a client and server in a client/server application. Bring the view code into TypeScript to have static typing.
  • Interact efficiently with the type system for better and structured code.

Authors

Screenshots

Table of Contents

Getting Started
The Course Overview
Sample Application Overview
Compiling TypeScript in the Sample Application
Deploying the Type System
Implicit or Explicit Types
Avoiding the "any" Type
Being Aware of Structural Typing
Type System Troubles
Compiler Options for Added Support
Enforcing Rules and Coding Standards
Moving to ES6 Classes
Introduction – Before Moving
Class-like JavaScript Patterns to TypeScript (Part 1)
Class-like JavaScript Patterns to TypeScript (Part 2)
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
Representing JavaScript Libraries
Definition Files
Writing a Definition File
Strong Typing JavaScript Libraries on the Run
Downloading and Managing Definition Files
Included Definition Files
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
Advanced ES6 and ES7 Features
Introduction to Generators
Improving Performance and Efficiency with Generators
Easier Asynchronous Code with async/await
Harnessing the Power of Decorators
Advanced Decorators
Bridging Statically Typed Gaps
Sharing Code Across Applications
Bridging with Interfaces
Bridging with Code Generation
Using TSX Files

Video Details

ISBN 139781782175650
Course Length3 hours and 13 minutes
Read More
From 1 reviews

Read More Reviews

Recommended for You

Getting started with Shiny [Video] Book Cover
Getting started with Shiny [Video]
€ 142.78
€ 121.38
Vue.js 2 Recipes [Video] Book Cover
Vue.js 2 Recipes [Video]
€ 142.78
€ 121.38
Front-End Web Development using Go [Video] Book Cover
Front-End Web Development using Go [Video]
€ 142.78
€ 121.38
Getting Started with Spring 5.0 [Video] Book Cover
Getting Started with Spring 5.0 [Video]
€ 142.78
€ 121.38
Fundamentals of Continuous Delivery Pipeline [Video] Book Cover
Fundamentals of Continuous Delivery Pipeline [Video]
€ 142.78
€ 121.38
Responsive Web Development with HTML5, CSS3, and JavaScript [Video] Book Cover
Responsive Web Development with HTML5, CSS3, and JavaScript [Video]
€ 142.78
€ 121.38