Typescript Type vs Interface - What to use?

Typescript Type vs Interface - What to use?

Monsterlessons Academy

10 месяцев назад

21,596 Просмотров

Learn the difference between Typescript type vs interface. This two keywords are working in a similar manner so you need to understand when you need to use each of them.


► CHECK MY COURSES - https://monsterlessons-academy.com/courses

MOST POPULAR COURSES
► Building real project with Angular + NgRx - https://monsterlessons-academy.com/courses/angular-and-ngrx-building-real-project-from-scratch
► Building real NestJS API - https://monsterlessons-academy.com/courses/nestjs-building-an-api-for-real-project-from-scratch
► Javascript interview questions - https://monsterlessons-academy.com/courses/javascript-interview-questions-coding-interview
► Angular Interview Questions https://monsterlessons-academy.com/courses/angular-interview-questions-coding-interview-2023
► Building real fullstack project - https://monsterlessons-academy.com/courses/build-fullstack-trello-clone-websocket-socket-io
► Mastering Git - https://monsterlessons-academy.com/courses/git-training-step-by-step-guide
► Mastering Docker and Docker Compose - https://monsterlessons-academy.com/courses/docker-and-docker-compose-project-deployment-from-scratch
► Building real project with React Hooks - https://monsterlessons-academy.com/courses/react-hooks-building-real-project-from-scratch
► Building real project with Vue + Vuex - https://monsterlessons-academy.com/courses/vue-and-vuex-building-real-project-from-scratch

FOLLOW ME
► TWITTER - https://twitter.com/monster_lessons
► INSTAGRAM - https://www.instagram.com/monsterlessonsacademy
► TIKTOK - https://www.tiktok.com/@monsterlessonsacademy
Ссылки и html тэги не поддерживаются


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

Burning Tree
Burning Tree - 17.09.2023 06:47

Types ftw! Worked with both, more and more I find Types more flexible and especially due to ts’s type utilities. I mean the language is called “Type” script 😃
Thanks for making the video!

Ответить
ash142
ash142 - 04.09.2023 19:47

What font and theme hou using ?

Ответить
theasdazx
theasdazx - 23.08.2023 00:09

Bro I've been following for couple years. you're great but isn't time you switched to react/svelte/solid ? :((( New challenges

Ответить
Isaac -
Isaac - - 21.08.2023 23:03

I love the emotionless tutorials

Ответить
Sir Charles Ross
Sir Charles Ross - 20.08.2023 22:10

Whoa I didn’t know you could implement regular types, thought that was interface only

Ответить
Jonathan Johnson
Jonathan Johnson - 20.08.2023 11:50

Thanks so much. Struggling to understand some things in Typescript but you helped explain the difference between types and interfaces. Love your videos ❤

Ответить