TypeScript: Static Typing สำหรับ JavaScript Ecosystem ทั้งหมด
TypeScript คือภาษาที่ Microsoft จัดส่ง Google ใช้ในขนาดใหญ่ และ React, Node.js, และ Next.js โปรเจกต์สมัยใหม่ส่วนใหญ่นำมาใช้เป็นค่าเริ่มต้น มันรวบรวม (compile) ไปยัง JavaScript ธรรมชาติพร้อมกับเพิ่มระบบ static type ที่จับข้อบกพร่องทั้งชุดก่อน runtime — mismatched API responses, null access บนฟิลด์ที่เป็น optional, wrong function signatures, และอื่นๆ อีกมากมาย Track นี้ครอบคลุม TypeScript ตั้งแต่ types แรกผ่านไปถึง compiler internals, ข้ามไป 106 courses ที่ครอบคลุมทุกระดับตั้งแต่ A1 ถึง C2
สิ่งที่คุณจะได้เรียนรู้
คุณจะเริ่มต้นด้วย string, number, boolean, unknown, และ never, จากนั้นสร้างขึ้นผ่าน interfaces, type aliases, union and intersection types, generics, และ utility types เช่น Partial, Pick, Omit, และ Record หัวข้อระดับกลางรวมถึง type narrowing and type guards, discriminated unions, mapped types, template literal types, decorators, และ runtime validation ด้วย Zod คุณจะใช้ TypeScript กับ real stacks — React props and hooks, Express APIs, Node.js, Next.js, GraphQL, tRPC, และ type-safe ORMs Advanced courses ครอบคลุม conditional types, คีย์เวิร์ด infer, recursive and self-referential types, branded/nominal types, variadic tuples, authoring declaration files, และ end-to-end type safety ข้าม monorepos ด้วย project references
แผนการเรียนรู้
106 courses วิ่งจาก A1 ถึง C2 ในการก้าวหน้าต่อเนื่อง A1 และ A2 courses สร้างรากฐาน: basic types, functions, arrays, tuples, enums, readonly, optional chaining, และ nullish coalescing B1 แนะนำ classes, modules, strict mode, tsconfig best practices, generics, และการทำงานอย่างปลอดภัยกับ DOM and Fetch APIs B2 ดันเข้าสู่ advanced generics ด้วย constraints and conditional types, decorators, testing ด้วย Jest, monorepo setup, และ migration จาก JavaScript C1 courses ครอบคลุม recursive types, คีย์เวิร์ด infer and complex conditional types, การเขียน custom utility types, type-level programming fundamentals, type-safe internationalization, และ advanced React patterns Track จบลงที่ C2 ด้วย TypeScript Compiler API internals, type-level arithmetic, higher-kinded type simulation, building type-safe parsers, constructing DSLs ด้วย TypeScript types, และ Effect-TS
มันทำงานอย่างไร
แต่ละ course แบ่งออกเป็นบทเรียนที่สั้นและมีสมาธิที่คุณทำให้สำเร็จในตัวแก้ไขโค้ด built-in ด้วย real-time feedback ครูสอน AI มีอยู่เมื่อใดก็ตามที่คุณติดอยู่ และแต่ละแนวคิดจะได้รับการเสริมความเข้มแข็งทันทีด้วยแบบฝึกหัดแบบ hands-on มากกว่าการอ่านแบบพาสซีฟ