Typescript Functions | Basics Tutorial for Beginners
Web Dev Roadmap for Beginners (Free!):
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:
- 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 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:
π 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 Functions basics tutorial helpful? If so, please share. Let me know your thoughts in the comments.
#typescript #functions #tutorial