Master Interfaces in TypeScript

preview_player
Показать описание
A complete guide for interfaces in TypeScript. Learn how to create interfaces and how to use them with classes, functions and object structures. Discover how an interface can help you scale a large project. Get familiar with declaration merging and benefit from extending interfaces. We will also talk about potential use cases of interfaces, so that you get the big picture of how they can be used.

00:00 Intro
00:44 What's an interface
01:52 The interface keyword
02:38 Consuming an interface
05:14 How interfaces work?
06:45 Declaration Merging
08:12 Interfaces with classes
11:25 Connecting unrelated classes
14:26 Interfaces with object structures
15:28 Interfaces with functions
16:30 So when to use an interface?
17:21 Naming Conventions
19:14 Recap
19:56 Outro
20:20 Next episode trailer

Check out my ✨TypeScript course:

Links I mention in the video
- My previous video about classes:
- My blog post with all the coding examples:

This video belongs to my series Too Long To Read TypeScript. Every episode covers in detail a core concept of the language.

You can support this channel by clicking SUBSCRIBE :)
Рекомендации по теме
Комментарии
Автор

Excellent explanation. It was one of the best videos I've seen on Typescript (and programming in general).
Keep up the great work! 👍

abdulazeez.
Автор

You explained interfaces really well, nice work!

Wish I had seen this when I started learning TypeScript last year.

SuboptimalEng
Автор

This is a great series for typescript . Thanks a lot

balaeinstein
join shbcf.ru