Typescript Objects, Arrays, Tuples & Enums | Basics Tutorial

Typescript Objects, Arrays, Tuples & Enums | Basics Tutorial

Dave Gray

1 год назад

22,448 Просмотров

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


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

j serr
j serr - 28.10.2023 19:59

when I heard typescritp was static type I was Sold on it ......and Also RIP the Greates Guitarist To EVER LIVE Eddie Van Halen!!!!!!!

Ответить
Celestine Nwachukwu
Celestine Nwachukwu - 13.06.2023 08:03

Everyday, I’m grateful I started with JAVA

Ответить
Zuhaib Amjad
Zuhaib Amjad - 24.05.2023 14:34

Thanks Mr Gray.
I will remember to keep striving for progress over perfection because a little progress everyday will go a long way.

Ответить
Rabia Loukhai
Rabia Loukhai - 01.05.2023 18:25

Ответить
Y L
Y L - 28.04.2023 18:56

Awesome!!!!!!!!!!!
I do the like to every video and for sure subscribed as well !
Thank you for the excellence go!

Now - all of the above in one words :=> yAsssssz !

Ответить
J7coder
J7coder - 15.04.2023 02:30

Amazing Dave!

Ответить
BryikCode
BryikCode - 04.04.2023 05:13

Hello Dave thank u , when you complete NextJS Course

Ответить
Flower of Ash
Flower of Ash - 15.03.2023 12:19

man, telling me to "please give this video a like" really helpful since I always forget to leave a like before hopping to the next video

Ответить
MD Salahuddin
MD Salahuddin - 06.03.2023 05:45

Your channel is the great treasure for the passionate learners

Ответить
Nikhil Raj
Nikhil Raj - 05.03.2023 12:53

Why does this work?


let tupleActual: [string, number, boolean] = ["Nikhil", 24, true];
tupleActual.push(444);
console.log(tupleActual); Output=>  ['Nikhil', 24, true, 444]

Why does this work?
Why is TypeScript not throwing an error and allowing us to modify the length?
I thought it was supposed to not work

Ответить
Hanh Truong
Hanh Truong - 06.02.2023 09:31

Next time i think you should try to covert a ReactJS project you had to new ReactTS project.

Ответить
Soner
Soner - 31.01.2023 16:32

Wohhooo 🥳

Ответить
Full Stack developer
Full Stack developer - 18.01.2023 07:56

i learn a new thing from this video ....if we put ? this make that field optional .... sir really appreciated your teaching procedure ,,,, Thanks for providing these series for free

Ответить
Olawumi Segun
Olawumi Segun - 17.01.2023 15:45

Hi, is it possible to get the keys of an interface as an array
just like we would normally do with object using Object.keys(Person).

my end goal is to get ["name", "age", "location"] from interface Person.

interface Person {
name: string;
age: number;
location: string;
}

Ответить
blue blue
blue blue - 09.01.2023 23:49

This is an amazing tutorial! Thank you so much for this! I'm learning react and ts and this is super helpful. I'm understanding everything. Gonna watch the entire playlist if I have time

Ответить
Ifeanyi Okonkwo
Ifeanyi Okonkwo - 05.12.2022 00:46

You refused to answer my questions about remote jobs but I always refer my friends to your channel cos I love your content

Ответить
Diego de Blas
Diego de Blas - 04.12.2022 20:29

Fantastic content Dave! The first video got me completely engaged! This one is also very good but it feels very packed, since you went through a lot of content (although very well explained), but since you're keeping the duration still short you didn't explain some elements, which I don't know if it's intended and this was just an introduction leaving it for the student to dig deeper, or if you'll be revisiting these topics in future videos. In particular I was wondering if you'll be introducing the "const enum" concept later on, since it has some benefits if you want to keep your JavaScript codebase more streamlined.

Ответить
Yarik Migal
Yarik Migal - 27.11.2022 22:01

nice lesson.

Ответить
Johann Edward Polania Gonzalez
Johann Edward Polania Gonzalez - 25.11.2022 20:19

Thanks for sharing your incredible knowledge.

Ответить
Hardwired
Hardwired - 23.11.2022 00:09

Next js typescript tailwind maybe good

Ответить