TypeScript Pro: A 4-Hour Deep Dive from Basics to Expert Level

  Рет қаралды 63,379

HuXn WebDev

HuXn WebDev

Күн бұрын

Welcome to the ultimate TypeScript experience! In this power-packed 4-hour course, we take you on a journey from TypeScript basics to expert proficiency. Whether you're a coding newbie or a seasoned developer, get ready for a deep dive into the world of TypeScript mastery.
🔍 What You'll Learn:
* Foundations of TypeScript: Understand the core concepts and syntax that form the backbone of TypeScript.
* Advanced Techniques: Elevate your skills with advanced features, including generics, advance interfaces and more.
* Optimizing for Performance: Learn best practices for writing efficient and performant TypeScript code.
🎓 Who Is This For?
Beginners looking to break into the world of TypeScript.
Intermediate developers seeking to level up their TypeScript skills.
Advanced users wanting to fine-tune their expertise.
🌐 Why Choose This Course?
* Comprehensive Content: Covering everything from the basics to advanced topics in just 4 hours.
* Practical Learning: Apply theoretical knowledge to real-world scenarios.
* Expert Guidance: Learn from an experienced TypeScript developer with a passion for teaching.
Follow Me On 👇
Instagram: / huxnshorts
KZbin: / @huxnwebdev
GitHub: github.com/huxn-webdev
Twitter: / huxnwebdev
00:00 - Intro
00:07 - What Is TypeScript?
02:34 - Course Setup
11:40 - Annotations In Depth
18:35 - Type Inference
22:53 - Any Type
26:11 - Function Parameter Annotations
31:22 - Default Params Values
33:27 - Function Return Annotations
36:19 - Void Functions
38:05 - Never Keyword In Depth
42:19 - Arrays Types In Depth
49:36 - Multi Dimensional Arrays
52:18 - Objects In Depth
58:58 - Type Aliases
1:03:30 - Optional Properties
1:07:13 - Readonly Property
1:08:27 - Intersection Types
1:13:30 - Unions
1:18:35 - Literal Types
1:22:44 - Tuples
1:28:31 - Enums
1:33:11 - OOP
1:49:34 - Interfaces
2:13:44 - Generics
2:47:00 - Type Narrowing
2:57:01 - Amazing Setup For TypeScript
3:11:24 - Declaration Files
3:14:11 - TypeScript With Axios
3:22:48 - TypeScript With Express
03:27:09 - Outro

Пікірлер: 177
@huxnwebdev
@huxnwebdev 8 ай бұрын
Complete Source Code 👇 github.com/HuXn-WebDev/TypeScript-Complete-Course This is all the JavaScript I (currently) Know 👇 kzbin.info/aero/PLSDeUiTMfxW4zCLgOQgz4PWSN0QRmUUFR MERN Stack Complete Course With Amazing E-Commerce Project 👇 kzbin.info/www/bejne/e6S4fWWYm7B-gsU
@patrunidileep4802
@patrunidileep4802 8 ай бұрын
bro, your videos are really good not clickbate type creating a real value I have been learning web-development from last 1 year , your hard-work definitely pays-off 1day just keep moving bro, you are building loyal fanbase
@TheAntox007
@TheAntox007 4 ай бұрын
Such a good video that doesn't treat me like a child, thanks!
@_acky
@_acky 8 ай бұрын
this video recommend by yt, tomorrow i'll start typescript with this. Hope I learn a lot from this ! :)
@Ranawatcher
@Ranawatcher 7 ай бұрын
ITs my first time that i'm seeing a person who is doing so many hard work to teach people honestly. i would like that say one thing that, Keep going on and you will become success with this KZbin Channel one day very soon In-Sha Allah. You may take a screenshot of this comment :) Best of luck my bruh💌🤟
@huxnwebdev
@huxnwebdev 7 ай бұрын
Thanks for the positive comment my bro, it means a lot to me 🤝
@ankitpatel5718
@ankitpatel5718 Ай бұрын
This whole course is crazy. Awesome video. Loved it
@chukwuemekaorji9331
@chukwuemekaorji9331 8 ай бұрын
Honestly I really learned a lot, very nice course man. Great job
@huxnwebdev
@huxnwebdev 8 ай бұрын
Glad I could help 🤜
@rockbelleh6237
@rockbelleh6237 8 ай бұрын
Wow... Not done with the last project tutorial and here is another classic... Tnks slot for touching lives 🙌🙌🙌🙌
@huxnwebdev
@huxnwebdev 8 ай бұрын
You're welcome 🥂🥂
@technologyhacks690
@technologyhacks690 2 ай бұрын
just amazing man, really the way u teach and the way u present each topic is soo good , your channel is truly a gold mine keep up the good work huxn
@emmanuelcbenson
@emmanuelcbenson 8 күн бұрын
Yey!!! I completed the tutorial! Huxn, I need a certification of completion 😄
@Germane_5
@Germane_5 6 ай бұрын
Nice video as usual and expected. I will need to spend more time on the OOP and generic function. However, Javascript just seems sweeter. Kudos Huxn. Nice man. Nice work.
@akhilscamp1905
@akhilscamp1905 5 ай бұрын
Great Job pal, Teaching with fun is something that every tutor should consider like you do 🙂
@edgar.espinoza
@edgar.espinoza 3 ай бұрын
Another great course! Thanks Huxn!
@user-sg7pp7bv4l
@user-sg7pp7bv4l 8 ай бұрын
thank you so much bro, you have done a great job, typescript learning is my next move. and you have done it. kee it up the good work. stay blessed
@huxnwebdev
@huxnwebdev 8 ай бұрын
Glad to hear that buddy ☺️
@cbbcbb6803
@cbbcbb6803 2 ай бұрын
Very very good tutorial. Thanks!
@chrislyu7211
@chrislyu7211 2 ай бұрын
Very helpful and beginner friendly. into detail. There s no way you can't understand it
@MehediHassan-pn5uc
@MehediHassan-pn5uc 8 ай бұрын
Bro is dropping non stop top tier tutorials! ❤
@huxnwebdev
@huxnwebdev 8 ай бұрын
You already know!
@korngsamnang
@korngsamnang 8 ай бұрын
Love this so much
@mimi7u7
@mimi7u7 8 ай бұрын
Great and thank you very much for the teaching :3, a design course with figma would be good :3 ❤
@huxnwebdev
@huxnwebdev 8 ай бұрын
Thanks for the idea!
@user-yx6ej1ey5t
@user-yx6ej1ey5t 8 ай бұрын
Thanks again ❤
@lailagool8385
@lailagool8385 15 күн бұрын
All of your courses are really amazing and so easy to understand! You’re the best programming teacher for me. Would it be possible for you to create a course on Angular as well? That would be fantastic!
@huxnwebdev
@huxnwebdev 15 күн бұрын
I'll see what I can do.
@Ali-tm7ly
@Ali-tm7ly 5 ай бұрын
Great course🖤
@kushalmondal618
@kushalmondal618 6 ай бұрын
Well, Love The TS-Base of yours, I really Love the Idea Of Using TS anywhere we once Used JS, Backend/Frontend, Even In Dom-Controlling Library.......With Express though I really Love Nodemon with Extra Config in devDependency ........U Got a Sub❤
@niteshprajapat7918
@niteshprajapat7918 8 ай бұрын
Woowh🎉🎉 I was thinking to start TS, and then this beast comes up 🔥 Thank you Sir ❤
@huxnwebdev
@huxnwebdev 8 ай бұрын
Most welcome Brother 😊
@sybrespect3161
@sybrespect3161 8 ай бұрын
can you make a toturial on reactJs with typeScript ?
@huxnwebdev
@huxnwebdev 8 ай бұрын
Sure!
@kingofkings6302
@kingofkings6302 8 ай бұрын
​@@huxnwebdevbro it will be super helpful..
@MuhammadAdnan2.0
@MuhammadAdnan2.0 3 күн бұрын
​@@huxnwebdevwaiting please react + typescript full details of interfaces driven components full dynamic... Thanks
@sayidali431
@sayidali431 8 ай бұрын
I appreciate all your projects and your teacher method thanks i hope you will do more amazing projects like POS system, inventory system, lms system like that
@huxnwebdev
@huxnwebdev 8 ай бұрын
Great suggestions buddy, Ill see what i can do 🤝
@nawazishali274
@nawazishali274 7 ай бұрын
nice explanation
@taufikkhan2302
@taufikkhan2302 8 ай бұрын
Bro you are seriously upload industry used tools i love your work ❤❤❤❤
@huxnwebdev
@huxnwebdev 8 ай бұрын
haha that's what i do 🤝
@ProgrammingWithBini-ig8fz
@ProgrammingWithBini-ig8fz 8 ай бұрын
there are a lot tutorial on typescript but i waited your tutorial now here thanks bro. im waiting tutorial on graph ql also brother
@huxnwebdev
@huxnwebdev 8 ай бұрын
Thanks buddy, ill see what i can do about graphql 🤜
@KHe3CaspianXI
@KHe3CaspianXI 8 ай бұрын
Appreciate the work.! Bro why are you Good Samaritan ?
@kvelez
@kvelez 8 ай бұрын
Excellent course, you should also do coding challenges in typecript and nodejs
@huxnwebdev
@huxnwebdev 8 ай бұрын
Great suggestion!
@ishwarreddy8820
@ishwarreddy8820 6 ай бұрын
what font are you using?
@TheReal_E.IRIZARRY
@TheReal_E.IRIZARRY 3 ай бұрын
Hey Hu, How do you change the font in VSCode to be cursive like the way that you have it here?
@hamedahmed6348
@hamedahmed6348 8 ай бұрын
Getting through the interview with this one 🗣💥
@huxnwebdev
@huxnwebdev 8 ай бұрын
🤜🤜
@bakchoditank
@bakchoditank 8 ай бұрын
Thank you so much for this tutorial bro Please look into web scraping also 🙏 ❤️
@huxnwebdev
@huxnwebdev 8 ай бұрын
You're welcome, I will check it out!
@SujanDhakal-vv9km
@SujanDhakal-vv9km 3 күн бұрын
bro you are hero
@ZakTheCreator
@ZakTheCreator 7 ай бұрын
What vs code theme are you using?
@sporteffort
@sporteffort 7 ай бұрын
which font do you use code editor??
@inderjeetsinghsra1995
@inderjeetsinghsra1995 7 ай бұрын
Hello Sir, what's the name of the font you are using?
@CodeZakk
@CodeZakk 8 ай бұрын
hi very helpful thanks for the tutorial. btw what is the name of the theme you use to make the texts like that???
@huxnwebdev
@huxnwebdev 8 ай бұрын
Here 👇 kzbin.info/www/bejne/kJ_YZJRonJeGitksi=zWEi4MZUJ9Z0o2fG
@abrahimzaman360
@abrahimzaman360 8 ай бұрын
Which font you're using?
@ihateorangecat
@ihateorangecat 8 ай бұрын
Killing it ❤️‍🔥❤️‍🔥
@huxnwebdev
@huxnwebdev 8 ай бұрын
🤝
@madeiragoddess
@madeiragoddess 8 ай бұрын
First like first comment and so excited🎉🎉🎉🎉
@huxnwebdev
@huxnwebdev 8 ай бұрын
Yay 🥳
@kyomdonalddogo5775
@kyomdonalddogo5775 4 күн бұрын
I’ve learned js( not fully ) can I skip TS ?
@AasilGhoury
@AasilGhoury 5 күн бұрын
what font do you use in vs code?
@tuannguyenthai
@tuannguyenthai 8 ай бұрын
Wow. Amazing 😍😍😍😍😍 Thanks
@huxnwebdev
@huxnwebdev 8 ай бұрын
My Bro 🤝
@icarus7247
@icarus7247 8 ай бұрын
Thanks for this amazing tutorial. May I know what font you are using ?
@huxnwebdev
@huxnwebdev 8 ай бұрын
This one 👇 kzbin.info/www/bejne/kJ_YZJRonJeGitksi=FRAxG0q_jhMEaOOD
@TheBorninmotion
@TheBorninmotion 8 ай бұрын
maaaan, you did a huge work on it ! Thanks ! Do you planing to make more nextjs cases ?
@huxnwebdev
@huxnwebdev 8 ай бұрын
I'm planning on making some nextjs project but ill see what i can do 🤜
@TheBorninmotion
@TheBorninmotion 8 ай бұрын
@@huxnwebdev nextjs with openai api - create some assistant with chat or some case with vision api - its on hype now.
@regilearn2138
@regilearn2138 3 ай бұрын
pls create a course like u suggest express and node with typescript
@amalmurikkoli7629
@amalmurikkoli7629 8 ай бұрын
Will you make a Deno rest api course
@ayanaxhye
@ayanaxhye 7 ай бұрын
Thank you for this 🙏
@huxnwebdev
@huxnwebdev 7 ай бұрын
You’re welcome 😊
@ayanaxhye
@ayanaxhye 7 ай бұрын
@@huxnwebdev subscribed to your channel, all the best!
@rafabochniewicz9268
@rafabochniewicz9268 6 ай бұрын
What is the font family name you use?
@scitechplusexplorer2484
@scitechplusexplorer2484 6 ай бұрын
Can you please do complex Typescript project using React Redux Express (All in TS, no JS)? I really want to deep dive into TS.
@dancepractice805
@dancepractice805 2 ай бұрын
Course recommended
@anisuzzaman3723
@anisuzzaman3723 8 ай бұрын
Wow, Typscript yes.... was needed badly, Would you make NextJS with Typscript tutorial from scratch? How to handle event , form data, fetch data , CRUD operation like full stack application which complete all basic operation for a application need. I am waiting bro... Love from a developer❤allrighty🤣🤣
@huxnwebdev
@huxnwebdev 8 ай бұрын
Allrighty, your request is noted 😂
@gayathripriyankaramesh7867
@gayathripriyankaramesh7867 6 ай бұрын
Can you make a video for angular with typescript
@technerd3455
@technerd3455 8 ай бұрын
yooo another super helpful video
@huxnwebdev
@huxnwebdev 8 ай бұрын
Happy to help!
@respectgmechager8054
@respectgmechager8054 8 ай бұрын
Wow i love ur content 🎉🎉❤
@huxnwebdev
@huxnwebdev 8 ай бұрын
Glad you enjoy it!
@SuperWalaalka
@SuperWalaalka 8 ай бұрын
Thankz 100% 🙏🙏
@huxnwebdev
@huxnwebdev 8 ай бұрын
Enjoy 🥂
@mahammadalthaf8199
@mahammadalthaf8199 8 ай бұрын
Legend of coding ❤❤❤
@huxnwebdev
@huxnwebdev 8 ай бұрын
You are legend my bro 🤝
@raiair4
@raiair4 8 ай бұрын
Thank you sir
@huxnwebdev
@huxnwebdev 8 ай бұрын
Welcome buddy 🤜
@Yesterday_i_ate_rat
@Yesterday_i_ate_rat 8 ай бұрын
Thanks❤
@huxnwebdev
@huxnwebdev 8 ай бұрын
Welcome 🤝🤝
@ranganathdevaramani2966
@ranganathdevaramani2966 8 ай бұрын
Great content. Btw which theme and which font are you using ?
@huxnwebdev
@huxnwebdev 8 ай бұрын
This one 👇👇 kzbin.info/www/bejne/kJ_YZJRonJeGitksi=3j0lKszUGGAF3GrE
@huxkiriye
@huxkiriye 8 ай бұрын
Incredible lessons can you do Vsnilla JS Beginner to Advance with 10 real world projects ? Thanks my favorite teacher🔥🔥
@huxnwebdev
@huxnwebdev 8 ай бұрын
How about 100 projects?
@suraj351
@suraj351 8 ай бұрын
​@@huxnwebdevwow 🎉
@sonnaj5142
@sonnaj5142 8 ай бұрын
Great tutorial Now we need a golang story in your way ❤❤
@sonnaj5142
@sonnaj5142 8 ай бұрын
Please we need to learn your favourite language in your way❤
@huxnwebdev
@huxnwebdev 8 ай бұрын
Wow man wow just need a few more people's who wants to learn golang and I'll definitely make a complete bootcamp on that, cuz I never get tired of writing GO code.
@6.squash.936
@6.squash.936 8 ай бұрын
Return of the King 🍻
@huxnwebdev
@huxnwebdev 8 ай бұрын
My Bro 🤜
@rudran552
@rudran552 7 ай бұрын
Can you please make a video on bootstrap latest version with 1 project
@rakibsiddiki6380
@rakibsiddiki6380 8 ай бұрын
This a a really great video, it's really helpful, btw How can i get the suggestion like you got when you create a function? 32:01 Example : Function name(params:type) { } 32:02
@bernardopoggioniRock
@bernardopoggioniRock 7 ай бұрын
hey, maybe I'm to late, but, if you are using VsCode, you just need to type "func" and it will suggest you some functions, and you just need to select "function statement"
@ilaydelrey3122
@ilaydelrey3122 5 ай бұрын
What is your VS Code Theme
@iWontFakeIt
@iWontFakeIt 7 ай бұрын
Your english is weak but teaching is top notch which is what matters and I absolutely love your way of presenting. Don't get mad at me for telling you weak in english, I say wrong spellings of some words so I said it not intended to criticize you.
@huxnwebdev
@huxnwebdev 7 ай бұрын
Don't worry; you're not the first commenter to mention my English. I'm here to teach programming, not English. If someone is interested in learning programming, they are more than welcome to subscribe to this channel. On the other hand, if someone is looking to improve their English, they can subscribe to an English teaching channel & to be honest it does some times hurt me because how much I'm doing my best to provide high quality content but there will ALWAYS be someone Shi..ng on my comment section.
@iWontFakeIt
@iWontFakeIt 7 ай бұрын
​@@huxnwebdevHey I am sorry if I hurt you. I don't know why I mentioned this. I always loved your teaching and hence come here to learn new skills. I always appreciate your ability to make us understand.
@huxkiriye
@huxkiriye 7 ай бұрын
Amazing thanks #Huxn WebDev kindly do also a full course Flutter and Dart plus real world projects...and how to setUp machine(computer) min requirement for Flutter and Dart dev....?
@dharsanr6504
@dharsanr6504 8 ай бұрын
I guessed it right , its typescript course Keep posting quality tutorials
@huxnwebdev
@huxnwebdev 8 ай бұрын
Yap you were right 🤝
@albertoa.rosasc.8411
@albertoa.rosasc.8411 8 ай бұрын
Like #12, Do you have video or complete course of Java basic o Level 1🧐? best regards from Panama 🇵🇦
@huxnwebdev
@huxnwebdev 8 ай бұрын
I currently don't have any Java tuts but ill definitely make some in the future🥂
@albertoa.rosasc.8411
@albertoa.rosasc.8411 8 ай бұрын
ok! Thanks!. @@huxnwebdev
@aman-alytics
@aman-alytics 8 ай бұрын
Nice 👍🏼
@huxnwebdev
@huxnwebdev 8 ай бұрын
🤜
@incihuseynli4306
@incihuseynli4306 7 ай бұрын
I was searching for detailed TypeScript for react tutorial. Is it recommended to watch?
@huxnwebdev
@huxnwebdev 7 ай бұрын
Then you should watch this instead, this is the second part of my TypeScript Complete Course 👇 kzbin.info/www/bejne/n4SUfGlqjcSYjsk
@incihuseynli4306
@incihuseynli4306 7 ай бұрын
@@huxnwebdev thank you so much
@dharmeshgohil9375
@dharmeshgohil9375 7 ай бұрын
hey ! huxn make one project with typescript so we can utilize knowledge of type script in real project it s my humble request bro ,why r u silent in this new year ? make some video for us bro we love your teaching style
@huxnwebdev
@huxnwebdev 7 ай бұрын
Ill definitely make an amazing project using TypeScript + Next.js . I've been a bit under the weather, which is why I haven't been able to upload new content to my channel. However, the good news is that I'll be launching a new course maybe today or tomorrow with 10 amazing projects. Stay tuned!
@MinatoUchiiha
@MinatoUchiiha 8 ай бұрын
Is the udemy course worth mentioning in LinkedIn and resume or not worth it ? What is your opinion
@huxnwebdev
@huxnwebdev 8 ай бұрын
Of course not.
@andreyyatsenko1593
@andreyyatsenko1593 8 ай бұрын
why?@@huxnwebdev
@ZeshanMukhtar1
@ZeshanMukhtar1 2 ай бұрын
Love from Pakistan
@AmanKumar-fh6nu
@AmanKumar-fh6nu 8 ай бұрын
which font are you using man ?
@huxnwebdev
@huxnwebdev 8 ай бұрын
This one 👇 kzbin.info/www/bejne/kJ_YZJRonJeGitksi=n7_sNvQaWMbi4Cbb
@rohith3261
@rohith3261 8 ай бұрын
Yay ❤️❤️❤️❤️
@huxnwebdev
@huxnwebdev 8 ай бұрын
🤜
@AmanKumar-fh6nu
@AmanKumar-fh6nu 8 ай бұрын
which font are you using my guy?
@huxnwebdev
@huxnwebdev 8 ай бұрын
This one 👇 kzbin.info/www/bejne/kJ_YZJRonJeGitksi=n7_sNvQaWMbi4Cbb
@ifeanyinnaemego
@ifeanyinnaemego 7 ай бұрын
Name of font
@Kmkn308
@Kmkn308 8 ай бұрын
❤❤
@charulatachaudhari3485
@charulatachaudhari3485 8 ай бұрын
Thanks bro but We want SQL and react native too Love from India🇮🇳
@huxnwebdev
@huxnwebdev 8 ай бұрын
Already in my list 🤜🤜
@charulatachaudhari3485
@charulatachaudhari3485 8 ай бұрын
😊
@dharmeshgohil9375
@dharmeshgohil9375 8 ай бұрын
brother plz make one project using ts and next js for begginer level to advance level
@huxnwebdev
@huxnwebdev 8 ай бұрын
Ok soon
@sumaiyarimu22
@sumaiyarimu22 8 ай бұрын
❤❤❤❤
@dharmeshgohil9375
@dharmeshgohil9375 7 ай бұрын
hussain make course on Al or ML or Data science course for this new years and make paython course from basic to advance
@huxnwebdev
@huxnwebdev 7 ай бұрын
The Complete AI, ML course is already in my list but will take a while, Python & LangChain are coming soon.
@itksports
@itksports 8 ай бұрын
Next js , typescript, tailwind css, express js if necessary and mongodb project.. full authentication..
@huxnwebdev
@huxnwebdev 8 ай бұрын
Great idea!
@itksports
@itksports 8 ай бұрын
@@huxnwebdev please you are doing a great job sir and I really appreciate your effort
@MuhammadAdnan2.0
@MuhammadAdnan2.0 3 күн бұрын
Waiting for recat + typescript
@huxnwebdev
@huxnwebdev 3 күн бұрын
Already available on my channel 🥂
@MinatoUchiiha
@MinatoUchiiha 8 ай бұрын
Any project video using typescript bro
@huxnwebdev
@huxnwebdev 8 ай бұрын
Coming up soon my bro
@MinatoUchiiha
@MinatoUchiiha 8 ай бұрын
@@huxnwebdev waiting bro ✨
@LokeshKumar-tk7ri
@LokeshKumar-tk7ri 8 ай бұрын
Do you think that AI is going to replace web developers
@huxnwebdev
@huxnwebdev 8 ай бұрын
Ofcourse .... not!
@LokeshKumar-tk7ri
@LokeshKumar-tk7ri 8 ай бұрын
@@huxnwebdev Then can I start Learning web developement by now in your channel or not?
@yawaze
@yawaze 8 ай бұрын
Hey cute you are very talented ,🥰🥰🥰
@huxnwebdev
@huxnwebdev 8 ай бұрын
Thanks for the compliment 🙂
@yawaze
@yawaze 8 ай бұрын
Hey cute I wanna. Talk
@srijonofficial621
@srijonofficial621 8 ай бұрын
huzn bro i am learning full stack web dev wth youtube videos is type script is imp in web dev
@huxnwebdev
@huxnwebdev 8 ай бұрын
I didn't catch the last part of your comment :/
@srijonofficial621
@srijonofficial621 8 ай бұрын
tell me bro typescript is important for web dev or not @@huxnwebdev
@huxnwebdev
@huxnwebdev 8 ай бұрын
For bigger projects YES, for small todo type projects ( you can use it ) but no you don't have to.
@srijonofficial621
@srijonofficial621 8 ай бұрын
@huxnwebdev thanks my bro ❤️ luv u
@AmanKumar-fh6nu
@AmanKumar-fh6nu 8 ай бұрын
09/12/2023 1:04:00
@Luis-hc1dl
@Luis-hc1dl 5 ай бұрын
Nice tutorial, i'm still on 1:13:30
@Luis-hc1dl
@Luis-hc1dl 5 ай бұрын
1:33:10
@Luis-hc1dl
@Luis-hc1dl 5 ай бұрын
1:49:32
@Luis-hc1dl
@Luis-hc1dl 5 ай бұрын
2:12:43
@AbsolutePain
@AbsolutePain 8 ай бұрын
Am i first ?
@huxnwebdev
@huxnwebdev 8 ай бұрын
Yap you are 🤝
@inteliconn995
@inteliconn995 2 күн бұрын
Thanks, but don't use this kind of font!
@uniq6318
@uniq6318 2 ай бұрын
Typescript is the brother of Java which sucks a lot 😢
@kvelez
@kvelez 3 ай бұрын
{ "compilerOptions": { "target": "ESNext", "module": "CommonJS", "outDir": "./dist", "strict": true, "forceConsistentCasingInFileNames": true }, "include": [ "src/**/*.ts" ], "exclude": [ "node_modules" ] } Generics: function uniqueDataTypesFunc(item: T, element: T): [T, T] { return [item, element]; } function getRandomKeyValuePair(obj: {[key: string] : T}) : [key: string, value: T] { const keys = Object.keys(obj); const index = Math.floor(Math.random() * keys.length); const key = keys[index]; const value = obj[key]; return [key, value]; } function filterArray(arr: T[], condition: (item: T) => boolean): T[] { return arr.filter(item => condition(item)); } function reversePair(pair: [T, U]): [U, T] { return [pair[1], pair[0]]; } class Box { private content: T; constructor(initialContent: T) { this.content = initialContent; } getContent(): T { return this.content; } setContent(newContent: T): void { this.content = newContent; } } interface Dog { name: string; breed: string; } uniqueDataTypesFunc(123, 456); uniqueDataTypesFunc('123', '456'); uniqueDataTypesFunc(true, false); uniqueDataTypesFunc({ name: 'Fido', breed: 'Mixed' }, { name: 'Spot', breed: 'Mixed' }); getRandomKeyValuePair({ name: 'Fido', breed: 'Mixed' }); getRandomKeyValuePair({ name: 'Spot', breed: 'Mixed' }); getRandomKeyValuePair({ name: 'Max', breed: 'Mixed' }); getRandomKeyValuePair({ one: 1, two: 2 }); filterArray([1, 2, 3], item => item > 1); filterArray(['a', 'b', 'c'], item => item !== 'b'); filterArray([{ name: 'Fido', breed: 'Mixed' }, { name: 'Spot', breed: 'Mixed' }], item => item.breed === 'Mixed'); reversePair([1, 2]); reversePair(['a', 'b']); reversePair([true, false]); reversePair([{ name: 'Fido', breed: 'Mixed' }, { name: 'Spot', breed: 'Mixed' }]); const box = new Box(123); const box2 = new Box('123'); const box3 = new Box({ name: 'Fido', breed: 'Mixed' }); console.log(box.getContent()); console.log(box2.getContent()); console.log(box3.getContent());
@user-yx6ej1ey5t
@user-yx6ej1ey5t 8 ай бұрын
Thanks again ❤
@huxnwebdev
@huxnwebdev 8 ай бұрын
You're welcome 😊
MySQL: From Beginner to Monster Level (4-Hour Complete Course)
3:53:57
Learn TypeScript Generics In 13 Minutes
12:52
Web Dev Simplified
Рет қаралды 250 М.
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 2,5 МЛН
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 52 МЛН
لقد سرقت حلوى القطن بشكل خفي لأصنع مصاصة🤫😎
00:33
Cool Tool SHORTS Arabic
Рет қаралды 29 МЛН
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 21 МЛН
TypeScript in React - COMPLETE Tutorial (Crash Course)
53:21
ByteGrad
Рет қаралды 229 М.
Common Mistakes and Advanced Typescript Techniques
10:49
Ljupche Vasilev
Рет қаралды 9 М.
Learn TypeScript - Full Course for Beginners
2:06:13
freeCodeCamp.org
Рет қаралды 56 М.
CSS Line Animation    Learnt from @KevinPowell
1:06
StakeDesigner
Рет қаралды 13
JPEG is Dying - And that's a bad thing
8:09
2kliksphilip
Рет қаралды 258 М.
Levy Premoves Checkmate in 5
8:35
Gotham Games
Рет қаралды 26 М.
MAGNUS IS PERFECTION!!
20:15
GMHikaru
Рет қаралды 112 М.
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 2,5 МЛН