Загрузка...

TypeScript Interfaces & Abstract Classes Tutorial

Learn how to use interfaces and abstract classes in TypeScript. This tutorial covers the most common errors when working with interfaces and abstract classes. It will also show you how to use access modifiers to apply the information hiding principle. Speaker: Benny Neugebauer (@bennycode) Timeline: 00:00 Introduction 00:18 Can you use access modifiers with Interfaces? 00:34 What are access modifiers? 00:43 The public data modifier 01:13 The private data modifier 01:18 Error TS6133 - Is declared but its value is never read 02:45 Error TS1070 - Modifier cannot appear on a type member 04:02 Error TS2420 - Class incorrectly implements interface 05:42 Abstract Classes and Methods 06:41 Error TS2564 - Property has no initializer 07:10 Error TS2391 - Function implementation is missing 08:51 Error TS1029 - Modifier must precede 09:40 The protected data modifier 09:51 Error TS2720 - Class incorrectly implements abstract class 10:10 The extends keyword 10:35 Error TS2377 - Constructors for derived classes must contain a 'super' call 10:51 The super constructor 11:48 Error TS2515 - Non-abstract class does not implement inherited abstract member 13:30 Create a super constructor 14:36 Error TS2445 - Property is protected and only accessible within class 15:05 How to widen / overwrite access modifiers 16:33 Function Overriding 17:07 What is an Interface? 18:56 How to use interfaces with objects 19:15 Error TS2739 - Type is missing the following properties 21:54 Accessing members of base class Follow Us: ? https://typescript.tv/ ? https://twitter.com/typescripttv ? https://youtube.com/typescripttv Hashtags: #TypeScript #Interfaces

Видео TypeScript Interfaces & Abstract Classes Tutorial автора Девелоперские Реакции
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки