TypeScript Classes Tutorial | TS for Beginners Lesson

Web Dev Roadmap for Beginners (Free!): In this Typescript Classes tutorial, you will learn how to create and extend classes, implement interfaces, apply visibility modifiers, use static class members, and create getters and setters in TS classes. 🚀 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 Classes Tutorial | TS for Beginners Lesson (00:00) Intro (00:05) Welcome (00:28) Starter Code (01:06) Basic Class (02:34) Larger Class (04:23) Visibility Modifiers (06:24) Definite Assignment Assertion Operator (07:22) Private & Protected Examples (10:26) Compiling & Running Code (12:02) Extends for Subclasses (16:28) Implements for Interfaces (20:31) Static Class Members (24:52) Getters & Setters Corrections: (06:16) Optional: Assignments in the body of the constructor are not necessary at this point either. It is not an error if you choose to do so, but it is not required. Correction Reference: #parameter-properties 📚 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: 🔗 TS Type Assertions: #type-assertions ⚙ Web Dev Tools: 🔗 Chrome Browser: 🔗 Visual Studio Code (VS Code): 🔗 & npm: 🔗 Live Server VS Code Extension: Was this Typescript Classes tutorial helpful? If so, please share. Let me know your thoughts in the comments. #typescript #classes #interface
Back to Top