cta quote button

Best Books to Learn Typescript

Read More

How Much Does It Cost to Hire Web Developers in Ukraine?

Our pricing is completely transparent: you pay your engineers’ salaries and a flat monthly fee for our services. No hidden charges.

Read More

1. Beginning Angular with Typescript (updated to Angular 5) (2017)

*Updated to Angular 5!

Angular is one of the leading frameworks to develop apps across all platforms. Reuse your code and build fast and high performing apps for any platform be it web, mobile web, native mobile and native desktop. You use small manageable components to build a large powerful app. No more wasting time hunting for DOM nodes!

In this book, we take you on a fun, hands-on and pragmatic journey to master Angular from a web development point of view. You’ll start building Angular apps within minutes. Every section is written in a bite-sized manner and straight to the point as I don’t want to waste your time (and most certainly mine) on the content you don’t need. In the end, you will have what it takes to develop a real-life app.

About the Reader

This book is for developers with basic familiarity with HTML, CSS, Javascript and object-oriented programming. No TypeScript or AngularJS experience needed.

About the Author

Greg Lim is a technologist and author of several programming books. Greg has many years in teaching programming in tertiary institutions and he places special emphasis on learning by doing.

Table of Contents

  1. Introduction
  2. Creating and Using Components
  3. Bindings
  4. Working with Components
  5. Conditional Rendering, Pipes and Ng-Content
  6. Template Driven Forms
  7. Model Driven Forms
  8. Introduction to Observables
  9. Getting Data From RESTful APIs with Observables
  10. Routing
  11. Structuring Large Apps With Modules
  12. C.R.U.D. with Firebase

Author(s): Greg Lim

2. Mastering TypeScript – Second Edition (2017)

Build enterprise-ready, industrial-strength web applications using TypeScript and leading JavaScript frameworks About This Book Start with the basics, then enhance your knowledge with in-depth discussions on language features, third-party libraries, design patterns and more Practical examples that show how to use TypeScript with popular frameworks, including Backbone, Angular 2, React, Aurelia, Node and others Focus on test-driven development to build high quality applications that are modular, scalable and adaptable Who This Book Is For Whether you are a JavaScript developer aiming to learn TypeScript, or an experienced TypeScript developer, this book will take your skills to the next level. From basic to advanced language constructs, test-driven development, object-oriented techniques and industry standard design patterns, you will learn how to get the most out of the TypeScript language. What You Will Learn Gain an insight into core and advanced TypeScript language features Integrate your existing JavaScript libraries and third-party frameworks by writing and using declaration files Target popular JavaScript frameworks such as jQuery, Backbone, Angular, Aurelia, React, Node, and Express Create extensive test suites for your application with Jasmine, Protactor, and Selenium Organize your application code using modules, AMD loaders, Require and SystemJs Explore advanced object-oriented design principles, including Dependency Injection Understand and compare the various MVC implementations in Aurelia, Angular, React and Backbone Build a complete single-page web application that incorporates CSS animations to enhance your customers’ browsing experience In Detail The TypeScript language, compiler, and opensource development toolset brings JavaScript development up to the enterprise level. It allows us to use ES5, ES6, and ES7 JavaScript language features today, including classes, interfaces, generics, modules, and

Author(s): Nathan Rozentals

3. Angular 2 Development with TypeScript (2016)

Summary

Angular 2 Development with Typescript teaches you what you need to start using Angular, while you also learn TypeScript and how to take advantage of its benefits.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Whether you’re building web clients or full-featured SPAs, using the Angular 2 web framework is a liberating experience. Its declarative style makes it easy to define and add features without a lot of manually written boilerplate, and the fully integrated TypeScript language gives you the benefits of a statically typed language within the JavaScript ecosystem. Not to mention that adding Angular 2 and TypeScript to your skill set makes you a hot commodity.

About the Book

Angular 2 Development with Typescript introduces Angular 2 to developers comfortable using AngularJS v1 or other web frameworks. You’ll start by exploring how Angular 2 works in an online auction application. Along the way, you’ll learn to use TypeScript to write type-aware classes, interfaces, and generics. This is a practical book that covers real-world development concerns like data and views, user interaction with forms, and communicating with servers, as well as testing and deploying your Angular 2 applications.

What’s Inside

  • Design and build modular applications
  • Transpile TypeScript into today’s JavaScript
  • Use modern JavaScript workflow tools like npm, Karma, and Webpack

About the Reader

This book is for intermediate web developers with a working knowledge of JavaScript. No TypeScript or AngularJS experience needed.

About the Author

Yakov Fain and Anton Moiseev are experienced web application developers. Yakov has written several books on software development.

Table of Contents

  1. Introducing Angular 2
  2. Getting started with Angular
  3. Navigation with the Angular router
  4. Dependency injection
  5. Bindings, observables, and pipes
  6. Implementing component communications
  7. Working with forms
  8. Interacting with servers using HTTP and WebSockets
  9. Unit-testing Angular applications
  10. Bundling and deploying applications with Webpack

Author(s): Yakov Fain, Anton Moiseev

4. Pro TypeScript: Application-Scale JavaScript Development (2014)

JavaScript is everywhere, both as a pure language and in popular libraries like Angular, jQuery and Knockout, but users of modern object-oriented languages like Java and C# often find JavaScript frustrating to use and hard to extend to large-scale applications. TypeScript is an innovative open source language from Microsoft that combines powerful language features and enhanced tooling support with the key attractions of JavaScript as a flexible, dynamic language that can run in any browser and on any operating system. Pro TypeScript tells you everything you need to know about this exciting new language and how to use it in your applications.

Starting with an introduction to the language and its features, the book takes you through some of the major features of TypeScript in depth, from working with the type system through object-orientation to understanding the runtime and the TypeScript compiler. The book then covers some of the factors you need to consider when running a TypeScript application in the browser, including interacting with the DOM, making asynchronous requests, and working with useful browser APIs, followed by a demonstration of server-side TypeScript using the popular Node.js framework.

Because TypeScript compiles to plain JavaScript, exception handling, memory management and garbage collection can differ depending on where you run your program, so these topics get a chapter to themselves. You’ll also find out how to include popular JavaScript frameworks in your applications, so you can combine the benefits of TypeScript with some of the best JavaScript code that’s already out there waiting to be used. The final chapter gives an overview of automated testing for TypeScript applications.

Pro TypeScript offers a balanced and practical guide to a language that will transform your experience of JavaScript development.

What you’ll learn

  • The key TypeScript language features
  • How to work with the TypeScript type system
  • How to transfer your object-orientation skills to TypeScript
  • Useful JavaScript patterns and features that work well with TypeScript
  • How to consume existing JavaScript libraries in your TypeScript program
  • How to run TypeScript in a web browser or on a server

Who this book is for

Pro Typescript is for the professional application developer writing applications to run on JavaScript engines in browsers or on web servers. To get the most out of this book, you should be familiar with object-oriented programming in a modern language such as C# or Java. The techniques shown will build on your existing object-oriented programming skills and show you how to transfer them to your TypeScript applications.

Table of Contents

Introduction to TypeScript

Chapter 1. TypeScript Language Features

Chapter 2. Working with the TypeScript Type System

Chapter 3. Object Orientation in TypeScript

Chapter 4. Understanding the Runtime

Chapter 5. Running TypeScript in a Browser

Chapter 6. Running TypeScript on a Server

Chapter 7. Exceptions, Memory and Performance

Chapter 8. Using JavaScript Frameworks and Libraries

Chapter 9. Automated testing

Author(s): Steve Fenton

5. Getting Started with TypeScript: Includes Introduction to Angular (2017)

This book covers features of TypeScript 2.1 like async/await and Angular 2

TypeScript is a JavaScript superset that supports static typing and compiles down to plain JavaScript. TypeScript gives you compile-time errors, great tooling support and the latest JavaScript features like classes, arrow functions and modules. You can compile these latest features down to a JavaScript version that is supported in today’s browsers.

The adoption of TypeScript is increasing and as a serious developer you should have that language definitely in your pocket!

Join Thomas in this book to learn the TypeScript language. After you’ve set up your environment you get up to speed with basic types, interfaces, classes, functions, modules, decorators and you learn how to build modern, component-based web-applications with Angular and rock-solid TypeScript code.

This book is structured into twelve chapters:

  1. Introduction
  2. Setting up Your Environment
  3. Using TypeScript
  4. Basic Types
  5. Var, Let and Const
  6. Interfaces and Classes
  7. Generics
  8. Functions (includes async/await)
  9. Modules
  10. Decorators
  11. Declaration Files
  12. Angular with TypeScript

Now let’s learn TypeScript, so that you can build your next JavaScript-based application with this amazing, popular language.

Author(s): Thomas Claudius Huber

6. TypeScript Essentials (2014)

Develop large scale responsive web applications with TypeScript

About This Book

  • Explore the key features of TypeScript to develop web applications of your own
  • Take advantage of the static typing system to improve the web development experience and add stability to your code
  • Discover how to effectively use type annotations, declaration files, and ECMA script integration with lots of code and examples

Who This Book Is For

The book introduces the TypeScript language and its features to anyone looking to develop rich web applications. Whether you are new to web development or are an experienced engineer with strong JavaScript skills, this book will get you writing code quickly. A basic understanding of JavaScript and its language features are necessary for this book.

What You Will Learn

  •  Set up the environment to install the TypeScript compiler and development tools
  • Explore the features of the TypeScript language such as type annotations, interfaces, classes, and modules
  • Examine the JavaScript code that has been generated by the compiler
  • Create modular code that can be reused again and again
  • Develop an interactive web application that can be easily extended
  • Integrate with common JavaScript libraries to ease development
  • Improve performance and reduce network traffic
  • Focus on creating reliable code through test-driven development

In Detail

Web applications work on a range of different devices, making them one of the most common ways in which users experience the web today. However, while the flexibility of web apps are great for users, for developers creating them with JavaScript, the process can be difficult, requiring more extensive and detailed coding work. TypeScript helps make the development of web apps easier, allowing you to quickly create scalable applications that will reach desktops, tablets, and mobiles. With TypeScript, your code becomes much more manageable and your work much more efficient. Its additional features, such as static typing, facilitate IDE support and further tooling.

This quick and insightful guide will provide you with an easy way into TypeScript. You will discover the features of the TypeScript language and gain hands-on experience in creating a web application with reusable components. You will explore the compiler and learn how to manipulate the resulting output to fit specific needs.

Author(s): Christopher Nance

7. TypeScript Design Patterns (2016)

Key Features

  • This step-by-step guide will would demonstrate all the important design patterns in practice
  • This book is the only documentation on the market focusing on design patterns in TypeScript
  • This book is packed with rich examples that will improve your efficiency and encourage code reuse

Book Description

In programming, there are several problems that occur frequently. To solve these problems, there are various repeatable solutions that are known as design patterns. Design patterns are a great way to improve the efficiency of your programs and improve your productivity.

This book is a collection of the most important patterns you need to improve your applications’ performance and your productivity. The journey starts by explaining the current challenges when designing and developing an application and how you can solve these challenges by applying the correct design pattern and best practices.

Each pattern is accompanied with rich examples that demonstrate the power of patterns for a range of tasks, from building an application to code testing. We’ll introduce low-level programming concepts to help you write TypeScript code, as well as work with software architecture, best practices, and design aspects.

What you will learn

  • Understand the challenges and implications of developing an enterprise application
  • Install and configure the necessary tools in order to start developing an application
  • Identify the challenges when developing an application
  • Apply GoF patterns in an application with a testing approach
  • Use and utilize design patterns while developing a TypeScript application or during JavaScript application development
  • Reference to SOLID principles and what their benefits do to your projects
  • Apply various principles in a TypeScript application
  • Improve code quality and development speed

About the Author

Vilic Vane is a JavaScript engineer with over 8 years of experience in web development. He started following the TypeScript project since it went public, and he’s also a contributor of the project. He is now working at Ruff, a startup company building an IoT platform that runs JavaScript on embedded devices.

Table of Contents

  1. Tools and Frameworks
  2. The Challenge of Increasing Complexity
  3. Creational Design Patterns
  4. Structural Design Patterns
  5. Behavioral Design Patterns
  6. Behavioral Design Patterns: Continuous
  7. Patterns and Architectures in JavaScript and TypeScript
  8. SOLID Principles
  9. The Road to Enterprise Application

Author(s): Vilic Vane

8. TypeScript High Performance (2017)

Key Features

  • Efficiently use Data Structures, Language Constructs, & Handle Asynchrony
  • Monitor the performance, Code Quality, & Resource Optimizations
  • Build & Deploy Strategies for Large Scale TypeScript Projects

Book Description

In a world where a tiny decrease in frames per second impacts customer engagement greatly, writing highly scalable code is more of a necessity than a luxury. Using TypeScript you get type checking during development. This gives you the power to write optimized code quickly. This book is also a solid tool to those who’re curious to understand the impact of performance in production, and it is of the greatest aid to the proactive developers who like to be cognizant of and avoid the classic pitfalls while coding.

The book will starts with explaining the efficient implementation of basic data Structures, data types, and flow control. You will then learn efficient use of advanced language constructs and asynchronous programming. Further, you’ll learn different configurations available with TSLint to improve code quality and performance. Next, we’ll introduce you to the concepts of profiling and then we deep dive into profiling JS with several tools such as firebug, chrome, fiddler. Finally, you’ll learn techniques to build and deploy real world large scale TypeScript applications.

What you will learn

  • Learn about the critical rendering path, and the performance metrics involved along the same
  • Explore the detailed inner intricacies of a web browser
  • Build a large scale front end applications and learn the thought process behind architecting such an effort
  • Understand the challenges of scalability and how TypeScript renders itself

Author(s): Ajinkya Kher

9. Mastering TypeScript (2015)

Build enterprise-ready, industrial strength web applications using TypeScript and leading JavaScript frameworks

About This Book

  • Focus on test-driven development to help build quality applications that are modular, scalable, maintainable, and adaptable.
  • Practical examples that show you how to use TypeScript with popular JavaScript frameworks including Backbone, Angular, Node.js, require.js, and Marionette
  • Enhance your TypeScript knowledge with in-depth discussions on language features, third-party libraries, declaration files, and so on using practical scenarios.

Who This Book Is For

Whether you are a JavaScript developer aiming to learn TypeScript, or an experienced TypeScript developer wanting to take your skills to the next level, this book is for you. From basic to advanced language constructs, test-driven development, and object-oriented techniques, you will learn how to get the most out of the TypeScript language.

What You Will Learn

  • Gain an insight into core and advanced TypeScript language features including inheritance and generics
  • Integrate your existing JavaScript code and third-party JavaScript libraries by writing and using declaration files
  • Write TypeScript code to target popular JavaScript frameworks such as jQuery, Backbone, Angular, Node, and Marionette
  • Create extensive testing suites for your application, including unit testing, integration testing, and browser automation with Jasmine and Selenium
  • Organize your application code using modules, and utilize Asynchronous Module Loading with require.js
  • Explore advanced object-oriented techniques including dependency injection and strongly typed domain events
  • Build a complete single-page web application with TypeScript and Marionette, incorporating object-oriented design patterns along the way

In Detail

The TypeScript compiler and language has brought JavaScript development up to the enterprise level, yet still maintains backward compatibility with existing JavaScript browsers and libraries.

Packed with practical code samples, this book brings the benefits of strongly typed, object-oriented programming and design principles into the JavaScript development space. Starting with core language features, and working through more advanced topics such as generics and modules, you will learn how to gain maximum benefit from your JavaScript development with TypeScript. With a strong focus on test-driven development and coverage of many popular JavaScript frameworks, you can fast-track your TypeScript knowledge to a professional level. By the end of this book, you will be able to confidently implement a TypeScript application from scratch.

Author(s): Nathan Rozentals

10. TypeScript: JavaScript Development Guide (2016)

This book is an exploration of TypeScript, which is a superset of JavaScript. The first part of the book explains to you what TypeScript is and what it is used for. You will also learn how it is related to JavaScript. The book also guides you on how to install TypeScript on Windows and on other platforms. Type annotations, which are very good in defining how the program is indented, are discussed, and thus, you will learn how to work with them. Interfaces, which are good and compatible with most objects, are discussed in detail. Understanding the scope of objects such as “this” is very difficult. This book examines arrow functions which are a good mechanism to help you understand the scope of this keyword. Expressions are also used widely in TypeScript, and these have been explored in detail. Classes which are very important in object-oriented programming and for creation of large apps are also covered, along with features such as inheritance which are associated with classes; Iterators have also been explored in detail. The “for…of” loop is widely used in TypeScript. This is discussed in this book, along with how to implement it. The spread operator, which is used for the purpose of spreading the elements of an array, is also examined. The following topics are discussed in this book: – A Brief Overview of TypeScript – Installing TypeScript – Type Annotations – Interfaces – Arrow Function Expressions – Classes – Destructuring – for…of – Iterators – Template Strings – Spread Operator – Enums – let

Author(s): Nicholas Brown

11. TypeScript Deep Dive (2017)

A Deep Dive into TypeScript.

Author(s): Basarat Ali Syed

12. Understanding ECMAScript 6: The Definitive Guide for JavaScript Developers (2016)

ECMAScript 6 represents the biggest update to the core of JavaScript in the history of the language. In Understanding ECMAScript 6, expert developer Nicholas C. Zakas provides a complete guide to the object types, syntax, and other exciting changes that ECMAScript 6 brings to JavaScript. Every chapter is packed with example code that works in any JavaScript environment so you’ll be able to see new features in action.

You’ll learn:
–How ECMAScript 6 class syntax relates to more familiar JavaScript concepts
–What makes iterators and generators useful
–How arrow functions differ from regular functions
–Ways to store data with sets, maps, and more
–The power of inheritance
–How to improve asynchronous programming with promises
–How modules change the way you organize code

Whether you’re a web developer or a Node.js developer, you’ll find Understanding ECMAScript 6 indispensable on your journey from ECMAScript 5 to ECMAScript 6.

Author(s): Nicholas C. Zakas