Typescript Objects, Arrays, Tuples & Enums | Basics Tutorial

Published: 25 October 2022
on channel: Dave Gray
28,741
1.3k

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap

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: https://bit.ly/WebDevMaster
Master the Coding Interview: https://bit.ly/FAANGInterview
Junior to Senior Dev Roadmap: https://bit.ly/WebDevRoadmap-JrtoSr

🚩 Subscribe ➜ https://bit.ly/3nGHmNn

📬 Course Updates ➜ https://courses.davegray.codes/

❓ Questions - Please post them to my Discord ➜   / discord  

☕ Buy Me A Coffee ➜ https://www.buymeacoffee.com/davegray

👇 Follow Me On Social Media:
Github: https://github.com/gitdagray
Twitter:   / yesdavidgray  
LinkedIn:   / davidagray  

🔗 All Resources for this Typescript Course: https://github.com/gitdagray/typescri...

🔗 Playlist for this Typescript Course: http://bit.ly/3GcNJ78

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:    • JavaScript Full Course for Beginners | Com...  

📚 Tutorial References:
🔗 Typescript Official Website: https://www.typescriptlang.org/
🔗 Anders Hejlsberg, Creator of Typescript and C# Interview: https://dev.to/destrodevshow/typescri...
🔗 Stackoverflow Survey Results: https://survey.stackoverflow.co/2022/...
🔗 MDN - Static Typing: https://developer.mozilla.org/en-US/d...
🔗 MDN - Dynamic Typing: https://developer.mozilla.org/en-US/d...
🔗 MDN - Type Coercion: https://developer.mozilla.org/en-US/d...

⚙ Web Dev Tools:
🔗 Chrome Browser: https://www.google.com/chrome/
🔗 Visual Studio Code (VS Code): https://code.visualstudio.com/
🔗 Node.js & npm: https://nodejs.org/
🔗 Live Server VS Code Extension: https://marketplace.visualstudio.com/...

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


On this page of the site you can watch the video online Typescript Objects, Arrays, Tuples & Enums | Basics Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Dave Gray 25 October 2022, share the link with friends and acquaintances, this video has already been watched 28,741 times on youtube and it was liked by 1.3 thousand viewers. Enjoy your viewing!