TypeScript 3.0 Quick Start Guide: The easiest way to learn TypeScript Front Cover

TypeScript 3.0 Quick Start Guide: The easiest way to learn TypeScript

  • Length: 158 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2018-08-30
  • ISBN-10: 178934557X
  • ISBN-13: 9781789345575
  • Sales Rank: #1155582 (See Top 100 Books)
Description

Work with everything you need to create TypeScript applications

Key Features

  • Learn enough about all aspects of TypeScript
  • Answers the questions that new users ask about TypeScript
  • Focus on simple examples and concise explanations

Book Description

TypeScript is designed for the development of large applications and can be used to develop JavaScript applications for both client-side and server-side execution. This book is the ideal introduction to TypeScript, covering both the basics and the techniques you need to build your own applications.

We start by setting up the environment and learning about the build tools that support TypeScript. Then we look at scoping of a variable, and the difference between a undefined variable and a null variable. You will then see the difference between an object, an Object, an object literal, and an object built with a constructor, crucial concepts in understanding TypeScript.

You will learn how to make your code more generic to increase the reusability of your classes, functions, and structures, and to reduce the burden of duplicating code. We look at creating definition files to transform the actual JavaScript code to be compatible with TypeScript.

By the end of the book, you will have worked with everything you need to develop stunning applications using TypeScript.

What you will learn

  • Set up the environment quickly to get started with TypeScript
  • Configure TypeScript with essential configurations that run along your code
  • Structure the code using Types and Interfaces to create objects
  • Demonstrate how to create object-oriented code with TypeScript
  • Abstract code with generics to make the code more reusable
  • Transform the actual JavaScript code to be compatible with TypeScript

Who this book is for

This book is for JavaScript developers who want to get started with TypeScript for building applications. No previous knowledge of TypeScript is expected.

Table of Contents

Chapter 1 Getting Started with TypeScript
Chapter 2 Onboarding Types with Primitive
Chapter 3 Unleashing the Power of Type with Objects
Chapter 4 Transforming your code in Object-Oriented
Chapter 5 Scoping Variables with different patterns
Chapter 6 Reusing Code Throught Generic
Chapter 7 Mastering the art of defining types

To access the link, solve the captcha.