Zum Hauptinhalt springen
Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Für diesen Artikel ist leider kein Bild verfügbar.

Mastering TypeScript

Write TypeScript fluently and without fighting the type system
Buch | Softcover
2026 | 5th Revised edition
Packt Publishing Limited (Verlag)
978-1-83664-773-7 (ISBN)
CHF 66,30 inkl. MwSt
  • Titel nicht im Sortiment
  • Artikel merken
Master the TypeScript language – form mental models of the type system, read and understand errors, and migrate from JavaScript to TypeScript competently.

Purchase of the print or Kindle book includes a free eBook in PDF format.

Key Features

Explore TypeScript’s key elements and advanced language features
Dive deep into type inference, type design, and building custom types
Form mental models to help you write TypeScript more fluently

Book DescriptionIf you’re a developer who wants to learn how to work with TypeScript instead of fighting it, this is the book for you – no JavaScript knowledge required.

Mastering TypeScript will get you up and running with TypeScript quickly, introduce core concepts, and dive deep into the workings of the type system. You’ll learn how to control your compiler options, work with types from third-party sources, and use advanced features such as decorators and generics.

This fifth edition has been reconceived with new chapters on JavaScript to TypeScript migration, type narrowing, reading and understanding TypeScript errors, and more. It also includes a set of brand-new sample projects that put TypeScript in practical and relatable perspective.What you will learn

Learn about core TypeScript language features
Use the type system to write better applications with fewer errors
Read and understand common and confusing TypeScript errors
Work with types you don't own, from browser APIs, Node APIs, and JavaScript APIs
Configure the TypeScript compiler using best practices
See TypeScript in the context of functional and object-oriented programming
Explore advanced types and the art of type manipulation
Migrate code from JavaScript to TypeScript without relying on the any type

Who this book is forThis book is a guide for any developer who wants to learn TypeScript. No prior knowledge of JavaScript is required, but some prior programming experience is assumed.

If you are already an experienced TypeScript or JavaScript developer, this book will take your skills to the next level.

Maina Wycliffe is a software engineer with over 8 years' professional experience writing production applications, starting in PHP, JavaScript, and Golang. He picked up TypeScript over 5 years ago after Angular adopted it as the language for the framework, and realized how important it was going to be for the JavaScript ecosystem. He has spent a good chunk of the last 5 years teaching TypeScript to developers and advocating for its use and best practices. Maina has been involved in migrating various codebases from JavaScript to TypeScript. He has a deep understanding of how to do this safely, with minimal disruption to feature delivery. Nathan Rozentals has been writing commercial software for over 30 years, in C, C++, Java and C#. He picked up TypeScript within a week after its initial release in October 2012 and realized how much it could help when writing JavaScript. He was one of the first people to start blogging about TypeScript, discussing early frameworks such as Backbone, Marionette, ExtJS and AngularJs. He knew he'd hit the mark when Microsoft staff started to reference his blog posts in their CodePlex discussion forums. Nathan's TypeScript solutions now control User Interfaces in IoT devices, run as stand-alone applications for Point-of-Sale solutions, provide complex application configuration web sites, and are used for mission-critical server APIs.

Table of Contents

Introduction to TypeScript
Up and Running Quickly
Exploring the Type System
Type Annotations and Assertions
Type Inference
Arrays and Objects
Type Design
Type Narrowing
TypeScript Configuration
Types from Third-Party Sources
Reading and Understanding TypeScript Errors
Functional Programming
Object-Oriented Programming
Advanced Types and Type Manipulation
Decorators
Migrating from JavaScript to TypeScript

Erscheinungsdatum
Verlagsort Birmingham
Sprache englisch
Maße 191 x 235 mm
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Mathematik / Informatik Informatik Web / Internet
ISBN-10 1-83664-773-5 / 1836647735
ISBN-13 978-1-83664-773-7 / 9781836647737
Zustand Neuware
Informationen gemäß Produktsicherheitsverordnung (GPSR)
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Grundlagen und praktische Anwendungen von Transpondern, kontaktlosen …

von Klaus Finkenzeller

Buch (2023)
Hanser (Verlag)
CHF 125,95
das umfassende Handbuch

von Marc Marburger

Buch | Hardcover (2024)
Rheinwerk (Verlag)
CHF 69,85