TypeScript Tutorial #15 - Interfaces

TypeScript Tutorial #15 - Interfaces

Net Ninja

4 года назад

145,548 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Po Tantirittisak
Po Tantirittisak - 22.07.2023 15:21

Very clear. Thank you!

Ответить
Avi Garg
Avi Garg - 08.07.2023 10:49

how can we use pick utility type on new someone person you made from same interface"inperson"

Ответить
Pylogicx
Pylogicx - 05.07.2023 18:10

Thanks, a lot. You have saved me time.

Ответить
John Connor
John Connor - 02.05.2023 22:19

What is the difference between Interface and Type aliases?

Ответить
Brothers Gaming Xtreme
Brothers Gaming Xtreme - 27.03.2023 22:09

Thanks, this helped!❤

Ответить
Curated TikToks
Curated TikToks - 09.01.2023 20:56

How is Interface different from Type Alias?

Ответить
João Pedro Schmitt
João Pedro Schmitt - 23.12.2022 03:06

I think interfaces intention is not about class structure only, but about creating an abstraction (contract) between two domains that allow you to decouple one part from another by not requiring one part to understand the details of the implementation. A better explanation can be found by searching for the principles of Dependency Inversion, or, Dependency Injection. Interfaces is an essential tool for polymorphism

Ответить
Kevin Izevbigie
Kevin Izevbigie - 29.09.2022 08:49

This course is brilliant.

Ответить
Loba
Loba - 20.06.2022 09:52

Thanks

Ответить
Chris
Chris - 28.05.2022 19:45

Which syntax highlighter do you have enabled here? very cool

Ответить
1ndianSp1ces
1ndianSp1ces - 23.05.2022 22:54

This is similar to classes in C++

Ответить
Matheus Campos
Matheus Campos - 07.05.2022 21:05

great... tnx

Ответить
Zes
Zes - 19.02.2022 16:17

wrg, sx any nmw and any s perfx, not stringx etc

Ответить
Eggziom
Eggziom - 12.02.2022 14:24

Found naming interfaces a little bit confusing in the tutorial
An interface basically describes functionality the object must have so you can interact with it. "Is-something" sounds more how you should name a type guard.
I personally prefer just "Person". In the wild, you also may come across a convention to precede interface names with "I" (from "interface"; "IPerson"), like it was popular in Java, for example

Ответить
BoykaSarbOO
BoykaSarbOO - 04.02.2022 11:12

Hi! bro you are one of my favorite teachers..Stay blessed..

Ответить
AP
AP - 25.07.2021 11:38

Hello! Can you tell me please which color theme you use in VS Code? it looks nice.

Ответить
AAYUSH KUMAR THAKUR
AAYUSH KUMAR THAKUR - 24.06.2021 13:57

Make a method speak because people do speak 🙂

Ответить
Shakeel Ahmad
Shakeel Ahmad - 24.02.2021 05:10

Thanks Shaun for the wonderful tutorial series.

Ответить
Amani n
Amani n - 21.10.2020 20:32

whatsup with the 30 man ?

Ответить
Ardavan Ansari
Ardavan Ansari - 25.09.2020 12:00

first thing I do before watching a NetNinja video : hit the like button

Ответить
Dzintars Klavins
Dzintars Klavins - 25.09.2020 03:09

You should mention about Interfaces vs Types so that people do not get confused later. :) And in oposite. Mention Interfaces when talking about Type.

Ответить
Cyan Froste
Cyan Froste - 14.06.2020 10:19

interfaces are mostly used with classes to define a class, but in js, classes are just glorified objects. so the differences are very small.

Ответить
Angelica vlog
Angelica vlog - 22.05.2020 00:44

I have an Issue at compile time Uncaught ReferenceError: exports is not defined at my app.js file on the line Object.defineProperty(exports, "__esModule", { value: true }); someone help me please.

Ответить
Andika Saputra
Andika Saputra - 21.05.2020 11:07

So, what is the difference between type & interface?

Ответить
Bouamar Elouahhabi
Bouamar Elouahhabi - 21.05.2020 03:18

I hope after this series you do another one about mern or mevn stack with typescript (a big one, it could be in udemy), you're the best man!

Ответить
Pulkit Aggarwal
Pulkit Aggarwal - 20.05.2020 20:50

Hi, Could you please elaborate difference b/w interface and type for defining any type like isPerson in this video

Ответить
vaibhav shukl
vaibhav shukl - 20.05.2020 20:08

Can you make one series on Wordpress and one on Native android development using Kotlin?

Ответить
N. Ademi
N. Ademi - 20.05.2020 17:40

Are you really 30? 😂

Ответить
NikiL2134
NikiL2134 - 20.05.2020 16:52

Why wouldn't I just create a type alias of an object with these properties?

Ответить
Samnan
Samnan - 20.05.2020 15:13

Super cool

Ответить
Usama Khalid
Usama Khalid - 20.05.2020 14:27

your videos are great. i have a request - please make videos on Nuxt js (Vue ssr)

Ответить
Alex K.
Alex K. - 20.05.2020 12:36

ty.

Ответить