Typescript Objects, Arrays, Tuples & Enums | Basics Tutorial
Dave Gray
@davegrayteachescodeAbout
Web Development tutorials with full courses on HTML, CSS, JavaScript, React, Node.js and more! My goal is to help you learn how to build the web. Teaching helps me learn, too. I work full-time as a Solutions Architect / Developer and part-time as a university web dev instructor. Thank you for subscribing, supporting my channel and sharing the videos you think may help others. Keep striving for progress over perfection. And a little progress every day goes a very long way. Milestones: July 20, 2020 - 1st video Jan 1, 2021 - 1k subs April 2021 - 4k watch hours Nov 2021 - 10k subs Jan 21, 2022 - Video at 100k views Feb 16, 2022 - 100k watch hours Feb 19, 2022 - 1m views Dec 13, 2022 - 100k subs Dec 2022 - Over 1m views in 1 month April 7, 2023 - 10m views May 26, 2023 - 1m watch hours Sept 22, 2023 - Video at 1m views Dec 25, 2023 - 250k subs
Video Description
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 โ https://discord.gg/neKghyefqh โ Buy Me A Coffee โ https://www.buymeacoffee.com/davegray ๐ Follow Me On Social Media: Github: https://github.com/gitdagray Twitter: https://twitter.com/yesdavidgray LinkedIn: https://www.linkedin.com/in/davidagray/ ๐ All Resources for this Typescript Course: https://github.com/gitdagray/typescript-course ๐ 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: https://youtu.be/EfAl9bwzVZk ๐ Tutorial References: ๐ Typescript Official Website: https://www.typescriptlang.org/ ๐ Anders Hejlsberg, Creator of Typescript and C# Interview: https://dev.to/destrodevshow/typescript-and-c-both-created-by-the-same-person-named-anders-hejlsberg-42g4 ๐ Stackoverflow Survey Results: https://survey.stackoverflow.co/2022/#technology-most-popular-technologies ๐ MDN - Static Typing: https://developer.mozilla.org/en-US/docs/Glossary/Static_typing ๐ MDN - Dynamic Typing: https://developer.mozilla.org/en-US/docs/Glossary/Dynamic_typing ๐ MDN - Type Coercion: https://developer.mozilla.org/en-US/docs/Glossary/Type_coercion โ 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/items?itemName=ritwickdey.LiveServer 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
Upgrade Your Photo Gear
AI-recommended products based on this video

NEEWER Advanced 18 inch LED Ring Light for Phone, LCD Touch Screen, 2.4G Remote Lights Control, 3200-5600K, Tripod Light for iPhone Action Camera, for Studio Makeup TikTok YouTube Video Salon (Black)

NEEWER Zf Handgrip L Shape Grip for Nikon Z f, Ultra Thin Retro Formfitting Camera Mounting Baseplate with Handle & Aluminum Shutter Button Cap, Compatible with Arca Swiss Tripod Fluid Head, CA073

NEEWER CA076 Zfc Handgrip L Shape Grip for Nikon Z fc, Ultra Thin Retro Formfitting Camera Mounting Baseplate with Handle/Brass Shutter Button, Compatible with Arca Swiss Tripod Fluid Head, Black

ANXRE 71" Phone Tripod, NT79 Extendable Selfie Stick for Cell Phone๏ผCamera Photo Video Kits, Travel Tripod Stand with Remote for Video Recording, Phone Holder Tripod Compatible with Phone Camera Gopro

Kaiess 62" Tripod for iPhone, Selfie Stick Tripod & Phone Tripod Stand with Remote, Cell Phone Tripod for iPhone, Extendable Travel Tripod Compatible with iPhone 14/13/12 Pro Max/Android

EUCOS 62" Phone Tripod, Tripod for iPhone & Selfie Stick Tripod with Remote, Extendable Phone Tripod Stand & Travel Tripod, Solidest Cell Phone Tripod Compatible with iPhone/Android

Jhcztrk 17.3 Inch Portable Monitor HDMI Type-C Laptop Gaming Monitor, 1600X900 with Built-in Speakers and Tripod External Slim Travel Monitors Second Monitors for Mac Smartphone PS4/PS5/ Gaming




















