Typescript Cookbook: Real World Type-Level Programming
暫譯: TypeScript 食譜:實務型別層級程式設計
Baumgartner, Stefan
- 出版商: O'Reilly
- 出版日期: 2023-09-12
- 定價: $2,300
- 售價: 8.8 折 $2,024 (限時優惠至 2025-02-02)
- 語言: 英文
- 頁數: 419
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1098136659
- ISBN-13: 9781098136659
-
相關分類:
JavaScript、TypeScript
立即出貨 (庫存 < 4)
買這商品的人也買了...
-
$780$616 -
$550$429 -
$559MongoDB 進階與實戰:微服務整合、性能優化、架構管理
-
$680$510 -
$599$569 -
$650$507 -
$2,464Scaling Python with Dask: From Data Science to Machine Learning (Paperback)
-
$680$537 -
$419$398 -
$720$562
相關主題
商品描述
TypeScript is one of the most important tools for JavaScript developers. Still, even experienced developers wonder why the TypeScript compiler is throwing squiggly red lines at them. Enter TypeScript Cookbook. With this practical guide, author Stefan Baumgartner provides senior engineers with solutions for everyday TypeScript problems.
If you're conversant with TypeScript as well as JavaScript basics, this book provides actionable recipes to help you tackle a wide array of issues. From setting up complex project structures to developing advanced helper types, each self-contained recipe guides you through the problem and discusses why and how a solution works.
The ideal companion for your ongoing TypeScript journey, this cookbook helps you:
- Dive into the inner workings of the TypeScript type system
- Integrate TypeScript into a variety of projects
- Craft advanced type definitions that allow for flexible scenarios
- Create useful helper types that function across projects
- Ensure readability along with type safety
- Create robust APIs for helper types and their coworkers
- Strongly type function signatures that rely on string types
- Work around limitations of the standard library
- Integrate TypeScript into advanced React projects
商品描述(中文翻譯)
TypeScript 是 JavaScript 開發者最重要的工具之一。然而,即使是經驗豐富的開發者也會疑惑為什麼 TypeScript 編譯器會給他們顯示紅色波浪線。這時候,《TypeScript Cookbook》就派上用場了。作者 Stefan Baumgartner 提供了這本實用指南,為資深工程師解決日常 TypeScript 問題。
如果你熟悉 TypeScript 以及 JavaScript 的基本概念,這本書提供了可行的食譜,幫助你解決各種問題。從設置複雜的專案結構到開發高級輔助類型,每個獨立的食譜都會引導你解決問題,並討論解決方案的原因和運作方式。
這本食譜是你持續 TypeScript 之旅的理想伴侶,幫助你:
- 深入了解 TypeScript 類型系統的內部運作
- 將 TypeScript 整合到各種專案中
- 編寫高級類型定義,以適應靈活的場景
- 創建在不同專案中都能使用的有用輔助類型
- 確保可讀性與類型安全
- 為輔助類型及其同事創建穩健的 API
- 強類型化依賴於字串類型的函數簽名
- 繞過標準庫的限制
- 將 TypeScript 整合到高級 React 專案中