Typescript Functions | Basics Tutorial for Beginners
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 Functions | Basics Tutorial for Beginners you will learn about TS Functions, parameters and return types along with optional params, default param values, type guards, type aliases 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 Functions | Basics Tutorial for Beginners (00:00) Intro (00:05) Welcome (00:17) Type Aliases (03:11) Literal Types (06:07) Basic Functions (07:29) Functions with no return value (10:40) The function keyword (11:58) Function Type Aliases (14:06) Function Interface (15:28) Optional Parameters (18:10) Default Parameters (21:39) Function with Rest Params (25:21) The never type (27:54) Using the never type (30:25) Custom Type Guard ๐ 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 Functions basics tutorial helpful? If so, please share. Let me know your thoughts in the comments. #typescript #functions #tutorial
Upgrade Your Aerial Adventures
AI-recommended products based on this video

DJI Mic Mini (2 TX + 1 RX), Detail-Rich Audio, Wireless Lavalier Microphone for Camera/Android, 2-Person Vlog, Team Production

DJI Mic Mini (2 TX + 1 RX), Detail-Rich Audio, Wireless Lavalier Microphone for Camera/Android, 2-Person Vlog, Team Production

SanDisk 64GB Extreme PRO SDXC UHS-I Memory Card - C10, U3, V30, 4K UHD, SD Card - SDSDXXU-064G-GN4IN

SanDisk 128GB Extreme PRO SDXC UHS-I Memory Card - C10, U3, V30, 4K UHD, SD Card - SDSDXXD-128G-GN4IN

SanDisk 4TB Extreme Portable SSD - Up to 1050MB/s, USB-C, USB 3.2 Gen 2, IP65 Water and Dust Resistance, Updated Firmware - External Solid State Drive - SDSSDE61-4T00-G25

DJI Mic Mini (2 TX + 1 RX), Detail-Rich Audio, Wireless Lavalier Microphone for Camera/Android, 2-Person Vlog, Team Production

Small Standing Desk Adjustable Height, Mobile Stand Up Desk with Wheels, 32 Inch Portable Rolling Desks for Walking Pad Treadmill Wood Rustic

Amztabler Small Standing Desk Adjustable Height, Mobile Stand Up Desk with Wheels, 32 Inch Portable Rolling Desks for Walking Pad Treadmill White1

GTOCE Portable Charger,40000mAh Power Bank with 22.5W Fast Charging LED Digital Display Battery Pack with 6 Outputs 2 Inputs, Type C Powerbank Portable Charger for iPhone 16 pro Samsung AirPods,Black

Wireless Power Bank 40800mAh,7-in-1 Portable Charger with 3 Built in Cables,15W Wireless Charging 25W PD QC 4.0 Fast Charging USB C LCD Display Battery Pack for iPhone 16/15/13/12,Samsung,Android etc

AsperX for Magsafe Power Bank, 10000mAh Wireless Magnetic Power Bank, 22.5W Wire Fast Charging Portable Charger with USB C Cable, LCD Display for Magsafe Battery Pack for iPhone 16/15/14/13/12

OYEAELX 3 in 1 with Built in Cable Portable Charger 15800mAh Cell Phone Battery Backup Ultra Slim Mini Power Bank with LCD Display Compatible with iPhone iPad Android Samsung Galaxy and More




















