Typescript Objects, Arrays, Tuples & Enums | Basics Tutorial
Web Dev Roadmap for Beginners (Free!):
In this Typescript Objects, Arrays, Tuples & Enums basics tutorial you will learn about each of those types as well as inferred & explicit types, optional properties, type vs interface, object params and more.
π Become a full-stack web dev with Zero To Mastery Courses:
- The Complete Web Developer:
- Master the Coding Interview:
- Junior to Senior Dev Roadmap:
π© Subscribe β
π¬ Course Updates β
β Questions - Please post them to my Discord β
β Buy Me A Coffee β
π Follow Me On Social Media:
Github:
Twitter:
LinkedIn:
π All Resources for this Typescript Course:
π Playlist for this Typescript Course:
Typescript Objects, Arrays, Tuples & Enums | Basics Tutorial
(00:00) Intro
(00:05) Welcome
(00:16) Getting Started
(01:13) Array Type Inference
(03:15) Array Assignment
(08:05) Array Any Type & Explicit Types
(08:27) Tuples
(12:05) Object Type
(13:59) Object Type Inference
(15:06) Object Type Annotation
(17:56) Object Assignment
(19:46) Optional Object Properties
(20:56) Object Type as a Parameter
(22:29) type vs interface
(23:51) Narrowing with Optional Properties
(26:43) Enums
π Suggested Pre-requisites for this Typescript course:
πJavaScript for Beginners full course:
π Tutorial References:
π Typescript Official Website:
π Anders Hejlsberg, Creator of Typescript and C# Interview:
π Stackoverflow Survey Results: #technology-most-popular-technologies
π MDN - Static Typing:
π MDN - Dynamic Typing:
π MDN - Type Coercion:
β Web Dev Tools:
π Chrome Browser:
π Visual Studio Code (VS Code):
π & npm:
π Live Server VS Code Extension:
Was this Typescript Objects, Arrays, Tuples and Enums basics tutorial helpful? If so, please share. Let me know your thoughts in the comments.
#typescript #objects #arrays