Learn TypeScript - Full Course for Beginners
Offered By: freeCodeCamp
Course Description
Overview
          Embark on a comprehensive TypeScript journey with this hands-on course designed for beginners. Discover how TypeScript can simplify your coding process and reduce errors through practical examples centered around a pizza app. Explore fundamental concepts such as basic types, custom types, nested object types, and optional properties. Dive into advanced topics including literal types, unions, type narrowing, function return types, and utility types like Partial and Omit. Master the art of working with arrays, queues, and generics in TypeScript. By the end of this 2-hour course, gain the skills to write more robust and maintainable code using TypeScript's powerful features.
        
Syllabus
 Introduction
 Intro to Pizza app
 Move code to TS
 Defensive coding
 Obligatory types basics lesson
 Add type to orderId
 Defining Custom Types
 Adding a Pizza type
 Nested object types
 Optional properties
 Adding an Order type
 Typing arrays
 Type orderQueue
 Literal types
 Unions
 Update order status to use literal type unions
 Add ids to pizzas
 Type Narrowing
 Be explicit whenever you can
 Function return types
 TS-specific types: any
 Add return type to getPizzaDetail
 Void return type
 Add automatic ids to menu items
 Utility Types & Partial
 Omit Utility Type
 Fix TS warnings with Omit
 Generics
 Generic functions in the pizza restaurant
 Explicitly type generic function calls
 Conclusion... for now
Taught by
freeCodeCamp.org
Related Courses
Programming LanguagesUniversity of Virginia via Udacity Building a Basic Website
University of Massachusetts Amherst via Independent iDESWEB, Introducción al desarrollo web
MirÃadax Web Engineering II: Developing Mobile HTML5 Apps
Technische Hochschule Mittelhessen via iversity Web Application Architectures
University of New Mexico via Coursera
