Defining Interface in TypeScript | TypeScript Tutorial

preview_player
Показать описание

In this lesson, you will learn to define an interface, add fields and methods to it. How to make the properties optional. You will also see how to use another interface in your own interface.

00:00 What is an interface? it’s syntax
00:51 Defining Interface in demo
01:35 Interface extends interface
02:52 Using TS structural type system
04:20 Defining multiple interfaces for Quick Math App
05:55 Optional Properties of Interface
08:44 Objects implementing Interface

.
.
Please donate and support my work
(If you think my free tutorials are better than paid ones :)

Free Programming courses:

Free Flutter course:

Free Android courses:

More free programming courses:

Check out my website:

Let's get in touch! [Sriyank Siddhartha]

---- Thank you for your love and support ----
Рекомендации по теме
Комментарии
Автор

Hi, I'm curious about the example on interfaces, when you built the Person.ts file it generated the Person.js file bu the let had changed to var?

nicksullivan
welcome to shbcf.ru