Total Typescript
暫譯: 全面掌握 TypeScript
Pocock, Matt, Bell, Taylor
- 出版商: No Starch Press
- 出版日期: 2026-04-14
- 售價: $2,130
- 貴賓價: 9.8 折 $2,087
- 語言: 英文
- 頁數: 432
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1718504160
- ISBN-13: 9781718504165
-
相關分類:
TypeScript
海外代購書籍(需單獨結帳)
相關主題
商品描述
A no-nonsense guide to all the essentials you'll need to become a TypeScript wizard and build a TypeScript application from scratch. "An invaluable resource to countless developers."
--Ryan Cavanaugh, Development Lead Microsoft TypeScript Team TypeScript makes JavaScript safer and your editor smarter. Matt Pocock's Total TypeScript courses have trained thousands of developers by putting the editor first: You learn types by watching what TypeScript tells you, not by memorizing rules. This book brings that method to print. You'll start by setting up a proper TypeScript environment, then immediately begin writing and annotating code. Each chapter builds on the last--primitive types to unions, objects to classes, basic generics to type transformations--with exercises woven throughout as checkpoints, not afterthoughts. Later chapters tackle what takes longer to learn: deriving types from other types, writing type predicates and assertion functions, configuring the compiler for real projects, and building type architectures that don't collapse under their own weight. You'll learn to:
This is a workshop in print. The one Matt Pocock has been refining for years.
--Ryan Cavanaugh, Development Lead Microsoft TypeScript Team TypeScript makes JavaScript safer and your editor smarter. Matt Pocock's Total TypeScript courses have trained thousands of developers by putting the editor first: You learn types by watching what TypeScript tells you, not by memorizing rules. This book brings that method to print. You'll start by setting up a proper TypeScript environment, then immediately begin writing and annotating code. Each chapter builds on the last--primitive types to unions, objects to classes, basic generics to type transformations--with exercises woven throughout as checkpoints, not afterthoughts. Later chapters tackle what takes longer to learn: deriving types from other types, writing type predicates and assertion functions, configuring the compiler for real projects, and building type architectures that don't collapse under their own weight. You'll learn to:
- Read TypeScript's error messages and use your editor as a teaching tool
- Write precise types for objects, functions, and classes
- Use unions, narrowing, and generics to make types flexible without losing safety
- Derive and transform types so you don't repeat yourself
- Configure tsconfig.json for React, Node, or library development
This is a workshop in print. The one Matt Pocock has been refining for years.
商品描述(中文翻譯)
一本實用的指南,涵蓋成為 TypeScript 大師所需的所有基本知識,並從零開始構建 TypeScript 應用程式。
'對無數開發者來說,這是一本無價的資源。'--Ryan Cavanaugh, 微軟 TypeScript 團隊開發負責人 TypeScript 使 JavaScript 更安全,並讓你的編輯器更智能。Matt Pocock 的 Total TypeScript 課程已培訓了數千名開發者,將編輯器放在首位:你通過觀察 TypeScript 告訴你的內容來學習類型,而不是死記規則。這本書將這種方法帶入印刷品中。 你將從設置適當的 TypeScript 環境開始,然後立即開始編寫和註解代碼。每一章都在前一章的基礎上構建——從基本類型到聯合類型,從物件到類別,從基本泛型到類型轉換——並在整個過程中穿插練習,作為檢查點,而非事後的想法。 後面的章節將處理學習時間較長的內容:從其他類型推導類型、編寫類型謂詞和斷言函數、為實際專案配置編譯器,以及構建不會因自身重量而崩潰的類型架構。 你將學會:
- 閱讀 TypeScript 的錯誤訊息,並將編輯器用作教學工具
- 為物件、函數和類別編寫精確的類型
- 使用聯合類型、窄化和泛型,使類型靈活而不失安全性
- 推導和轉換類型,以避免重複代碼
- 為 React、Node 或庫開發配置 tsconfig.json
這是一本印刷版的工作坊。Matt Pocock 多年來一直在完善的課程。
作者簡介
Matt Pocock is a TypeScript educator and developer who has worked with Vercel and Stately.ai. He created TotalTypeScript.com, an online learning platform that has taught thousands of developers to master TypeScript. Taylor Bell is a writer, developer, and researcher with a background in Communication Theory and Computer Science from Boise State University.
作者簡介(中文翻譯)
Matt Pocock 是一位 TypeScript 教育者和開發者,曾與 Vercel 和 Stately.ai 合作。他創建了 TotalTypeScript.com,這是一個在線學習平台,已經教導了數千名開發者掌握 TypeScript。
Taylor Bell 是一位作家、開發者和研究員,擁有博伊西州立大學的傳播理論和計算機科學背景。