In this tutorial, we'll learn about Typescript Aliases, Functions, literal types and the never type. If you have questions, please join my Discord server where I answer questions and you can chat with other web dev students: discord.gg/neKghyefqh
@smithahegade2607
2 ай бұрын
No waste of time.. Every bit of 30 minutes is soooo useful. Thanks a lot
@Scottni2
Жыл бұрын
Awesome video Dave!! You are very quickly becoming my favorite web dev teacher on youtube!
@DaveGrayTeachesCode
Жыл бұрын
Wow, thanks!
@EsmerEshraty
7 күн бұрын
not only yours, if i don't know about some thing first Dave come to my mind and i say oh I should check Dave's chanel first
@alseynidiop8650
Жыл бұрын
This comes exactly at the time I am learning typescript, you become my favorite KZitem teacher.
@DaveGrayTeachesCode
Жыл бұрын
Happy to hear that!
@insteresting
11 ай бұрын
Awesome tutorial as always!! I noticed that at 30:58, you could also return directly typeof value === 'number', without explicitly using the ternary statement and it would work fine as well.
@ahmad-murery
Жыл бұрын
Although I don't use it often, but once you get used to typescript it's hard to get back to regular JavaScript. 1:42 I think we can make use of the already declared type stringOrNumber like this: type stringOrNumberArray = stringOrNumber[] Thanks Dave,
@DaveGrayTeachesCode
Жыл бұрын
Absolutely! Applying one example to the next - good work my friend!
@annusingh4694
Жыл бұрын
Loving the Typescript series 💯
@DaveGrayTeachesCode
Жыл бұрын
Thank you!
@MOJICA7257
Жыл бұрын
Thanks Dave! 🙂
@DaveGrayTeachesCode
Жыл бұрын
Welcome! 💯
@flowerofash4439
Жыл бұрын
this is probably infinitely more easier than scrollling through typescript documentations, thank you sir
@DaveGrayTeachesCode
Жыл бұрын
You are welcome!
@wisekid7488
Жыл бұрын
Good job Dave! Keep going! Thanx 🤝👍
@DaveGrayTeachesCode
Жыл бұрын
Thanks, will do! 🚀
@andresbreuer
Жыл бұрын
As always Dave... amazing series!! Thank you so much!!
@DaveGrayTeachesCode
Жыл бұрын
Thank you, Andres!
@k303k
10 ай бұрын
very clear explanation and worth learning!
@mariolazzari
Жыл бұрын
This lesson is really full of useful tips: great job!
@DaveGrayTeachesCode
Жыл бұрын
Thank you!
@mostafaentezami8951
Жыл бұрын
Thank you for your excellent teaching method🙏
@natediaz406
10 ай бұрын
When i see your these tuts , i feel ts is really need to use
@rahmatyousefi8273
Жыл бұрын
Thank you
@DaveGrayTeachesCode
Жыл бұрын
Welcome!
@lahcenaouina
5 ай бұрын
Hi dave thank u so much for effort u are from my fav yt , please can u do Java EE and Spring boot pleassse
@sonamohialdin3376
Жыл бұрын
Amazing tutorial thank you very much
@DaveGrayTeachesCode
Жыл бұрын
You are welcome!
@TravinskiyVladislav
Жыл бұрын
Thank you, Dave
@DaveGrayTeachesCode
Жыл бұрын
You're welcome!
@siddiqahmed3274
Жыл бұрын
gold content👑❤️
@DaveGrayTeachesCode
Жыл бұрын
Thank you, Siddiq! 🙏💯
@7doors847
Жыл бұрын
Yepppppp! More TS 🔥!
@DaveGrayTeachesCode
Жыл бұрын
Right on!
@moneyfr
Жыл бұрын
Thank you for your work I really like your videos.
@DaveGrayTeachesCode
Жыл бұрын
Glad you like them!
@noSweatSuperDry
Жыл бұрын
The lessons are great, but it would be great, if you gave us some problem in between to solve, which makes channel and viewers more interactive. But, thank you very much for your lessons.
@IramKahkashan
Жыл бұрын
Hi Dave, Thank you to provide such a precise and awesome tutorial, Tell me one thing plz in VS Code I want to view the basic code of .push function, how can I view the source code of .push function or any function just like useSate() hook function or any other hook?
@Grishopping
Жыл бұрын
Thank you DAVE day by day I am advancing with your excellent pedagogy of your videos... A query the end of this series of TYPSCRIPT videos will only cover javascipt or do you plan to extend it to use in REACT Jose Grillo greets you from Venezuela ESPAÑOL Gracias DAVE dia a dia voy avanzando con tus excelente pedagogia de tus videos... Una consulta el acande de esta serie de videos de TYPSCRIPT solo cubrira javascipt o lo piensas extender para usar en REACT Te saluda Jose Grillo desde Venezuela
@DaveGrayTeachesCode
Жыл бұрын
Thank you, Jose! I will bring in some React before this series is finished 💯
@Grishopping
Жыл бұрын
@@DaveGrayTeachesCode Excelente muchas Gracias amigo DAVE
@aladdindesign9218
Жыл бұрын
So interesting.
@PavithranLion
Жыл бұрын
Thanks sir🙏💕
@DaveGrayTeachesCode
Жыл бұрын
You're welcome!
@djumarong
Жыл бұрын
it's redundant to use the ternary operator here: typeof value === 'number' ? true : false
@DaveGrayTeachesCode
Жыл бұрын
I can be overly explicit at times. I would need to review the code to see the example or you could provide a timestamp.
@LevPleshkov
Жыл бұрын
31:00 Why not just ``` return typeof value === 'number' ``` ?
@DaveGrayTeachesCode
Жыл бұрын
Good point - here I go again being over-explicit 😆
@LevPleshkov
Жыл бұрын
@@DaveGrayTeachesCode Thanks, I think that's never a bad practice! I thought there might have been some 'gotcha' I didn't know about =D
@moneyfr
Жыл бұрын
can you do some small exercises to apply all that you teach us
@DaveGrayTeachesCode
Жыл бұрын
This series has a couple of projects to pull everything together.
@reeteshvirous1359
Жыл бұрын
As always 🔥
@DaveGrayTeachesCode
Жыл бұрын
Thank you!
@loukhai
Жыл бұрын
😊 ✌️ peace
@dzhaniivanov5837
Жыл бұрын
youtube algorithm
@kim92se64
Жыл бұрын
watching 15 minutes
@DiegoBM
Жыл бұрын
They shouldn't have allowed the interface with a method to be valid for a function signature... it sure looks hacky, counterintuitive, and hard to read
@DaveGrayTeachesCode
Жыл бұрын
Opinions vary on the usage of types and interfaces.
@DiegoBM
Жыл бұрын
@@DaveGrayTeachesCode I definitely get the confusion when it comes to objects, but a type definition for a function signature based on interfaces truly feels unnatural (in my opinion, of course)
@Pareshbpatel
Жыл бұрын
{2023-03-16}
@kenansari
Жыл бұрын
Hey thanks its great content, i wonder you will merge it with React?(react+typescript)
@DaveGrayTeachesCode
Жыл бұрын
I will add some React to this series before it is finished.
@kenansari
Жыл бұрын
@@DaveGrayTeachesCode thank you for your help
@mikayilaliyev442
Жыл бұрын
I get "Cannot find name 'createError'.ts(2304)" when I do return createError('something')
@DaveGrayTeachesCode
Жыл бұрын
Did you try the first result in Google? stackoverflow.com/questions/71918235/cannot-find-name-createerror-ts2304
Пікірлер: 67