TypeScript Crash Course

  Рет қаралды 577,386

Traversy Media

Traversy Media

Күн бұрын

Learn the basics of TypeScript in this beginner-friendly crash course
Visit Our Sponsor: Stream
getstream.io/traversy
TypeScript Gist:
gist.github.com/bradtraversy/...
Find all of my Udemy courses:
traversymedia.com
Support The Channel:
/ traversymedia
paypal.me/traversymedia
TImestamps:
0:00 - Intro & Sponsor
0:39 - Slides
7:58 - TypeScript Setup
8:55 - TSC (TypeScript Compiler)
11:42 - Config File
13:32 - Folder Structure
16:50 - Basic Types
18:03 - Arrays & Tuples
21:27 - Unions & Enum
24:30 - Objects
26:00 - Type Assertion
27:23 - Functions
29:54 - Interfaces
32:28 - Function Interface
33:49 - Classes
37:00 - Data Modifiers
39:20 - Implement Interface in Class
40:39 - Extending Classes (Subclasses)
43:27 - Generics
47:30 - TypeScript With React

Пікірлер: 558
@nikhil007g
@nikhil007g 2 жыл бұрын
It's like Brad knows what we need and he uploads the knowledge
@petermurutu5709
@petermurutu5709 2 жыл бұрын
Bare facts 💯
@robinkartik6356
@robinkartik6356 2 жыл бұрын
Exactly.
@arnolddaniels8603
@arnolddaniels8603 2 жыл бұрын
Exactly
@DanteMishima
@DanteMishima 2 жыл бұрын
I swear the man is a wizard
@codernerd7076
@codernerd7076 2 жыл бұрын
He does he got KZbin trending data and social media, and all your google searches trends... Yeah so much data to find out exactly what video people want right now...
@failist9570
@failist9570 2 жыл бұрын
Me in my mind: "Let's learn Typescript" Brad: "I heard you"
@elpolodiablo5486
@elpolodiablo5486 2 жыл бұрын
cringe
@siewierap
@siewierap 2 жыл бұрын
me the same few days ago haha
@jpisty
@jpisty 2 жыл бұрын
I really like these crash courses. They're quick and to the point. More importantly it gives me enough info to decide if this is something I want to pursue. Thanks Brad
@Grifanos
@Grifanos 2 жыл бұрын
That's exactly as I'm feeling too. These crash courses are amazing. They give me a vision and allow me to make a decision if I need this.
@zes3813
@zes3813 2 жыл бұрын
no such thing as more expressive or descriptive or etc, ceptxuxetc, do, say any nmw and any s perfect
@Harduex
@Harduex 2 жыл бұрын
Love how you explain things so smooth and with a ease. Can't be better!
@joeb7492
@joeb7492 2 жыл бұрын
Wouldn't miss this for the world. Happy to see you back after that break
@user-ix1ih5cg6v
@user-ix1ih5cg6v 2 жыл бұрын
Every time I begin to have an issue with something new that I'm learning, Brad uploads a course tackling just that. By the look of it, I'm not the only one!
@alvinyanson
@alvinyanson 2 жыл бұрын
Perfect timing. I was looking for the latest typescript crash course. Thank you Brad. 😃
@ThiagoVieira91
@ThiagoVieira91 2 жыл бұрын
Wow Brad! You're always saving my life. THANK YOU for being this awesome! Another reason to use TS is client compliance. Some medium to large clients (e-commerce, fintechs) won't accept dynamically typed languages, because (they say) it can give margin to some fringe security exploits. Just some food for thought.
@thykingdoncome
@thykingdoncome 2 жыл бұрын
I just began learning typescript this morning, I was watching Net Ninja’s typescript tutorial when your notification popped. Legend!. Thanks Brad!
@luisacavalcanti3665
@luisacavalcanti3665 Жыл бұрын
You are one of the best teachers ever. Very clear and straight to the point.
@ladywebber1726
@ladywebber1726 2 жыл бұрын
I swear you always drop the exact course i need at the right time for me...Traversy Media Academy is the best coding school out here lol...Thanks Brad
@alvirarahman1559
@alvirarahman1559 2 жыл бұрын
TypeScript is the best thing that ever happened to me, thanks Brad, awesome immersive experience in your tutorial as always.
@EduardoGomez-ru3gf
@EduardoGomez-ru3gf 2 жыл бұрын
Excellent as always Brad! Not a moment wasted and a great overview of the language.
@brianryan4053
@brianryan4053 2 жыл бұрын
Brad, your explanation of generics is the best. Placeholder of data types. I have finally understood. Thanks!!! Great job!!!
@sametkaraca5976
@sametkaraca5976 2 жыл бұрын
You are a life saver as usual Brad. And the use of React in the end was a good idea. Thank you for your effort. You touch many dev lives around the world :)
@frankdrolet9439
@frankdrolet9439 2 жыл бұрын
I haven't watch your videos in a while cause I'm more into page builders like Oxygen and Weblfow, but damn it's good to be back to one of your Crash Course, always up to date and the best teacher out there, you're the man!
@meisterunner
@meisterunner 2 жыл бұрын
Love how "easy" OOP developers can pick up OOP languages. This whole course was basically Object Oriented Programming ( with Typescript ). You rock Brad.
@svikas641
@svikas641 2 жыл бұрын
true i am leaning golang and i could relate these two very well.
@priteshsoni3891
@priteshsoni3891 2 жыл бұрын
exactly! I am coming from Java and it is pretty much similar. But I like syntax of TS more than JAVA.
@anurag985
@anurag985 2 жыл бұрын
@@svikas641 golang doesn't have classes, though you can do a lot with interfaces and types.
@svikas641
@svikas641 2 жыл бұрын
@@anurag985 yes anurag i am aware.
@abdulrafay1509
@abdulrafay1509 2 жыл бұрын
Hey Brad, thanks for teaching me making REST APIs with Laravel, I have landed a job after looking at your videos! I can talk about stuff, specially APIs after learning from your videos sir! Hats off sir!
@sony4481
@sony4481 2 жыл бұрын
Amazing course, very detailed I would say comparing to other TS courses. Talked about different types with examples and the setup from scratch 👌 thanks Brad always 👍
@work2936
@work2936 2 жыл бұрын
I just started learning Typescript for React. This was exactly what I needed. Thanks Brad ❤
@hibob841
@hibob841 Жыл бұрын
I'm an experienced developer (mainly iOS) who's done a bit of JS but never touched TypeScript, and now need to learn it for a new job. This is _exactly_ what I needed to get rolling, and I have to say I quite like the language so far. Thanks so much!
@vladislav3182
@vladislav3182 Жыл бұрын
Always attaching 'Traversy' to every search i do on YT to do with programming😄. You're really one of the best!! I find your tutorials absolutely consumable and enlightening 💯..plus I never get lost like in other tutorials. Kudos and God bless!!🙌🙌
@waheedodubayo2339
@waheedodubayo2339 Жыл бұрын
needed a crash course on TypeScript for a take-home challenge and this is it!. Thanks Brad
@atinsingh7395
@atinsingh7395 2 жыл бұрын
Holy shit, I literally needed this right now as I have to work on a typescript react project. You are a godsend!!
@warisulimam3440
@warisulimam3440 2 жыл бұрын
The familiar intro never gets old. Haven't been doing web development for a long time, feels really good to be back into learning web dev again, back to the good old papa Traversy : D
@clingyking2774
@clingyking2774 2 жыл бұрын
It's so great to have Brad. He knows what we need and uploads it.
@LightningFox2407
@LightningFox2407 2 жыл бұрын
Thank you! Not just for this video, but for your entire channel - pure gold!
@shahbazkhalid6950
@shahbazkhalid6950 Жыл бұрын
Great by brad! I was struggling to learn typescript even having good programming skills but this man taught nicely. Now I have idea about typescript syntax and about the topics covered in this video
@DarknessDescend
@DarknessDescend 2 жыл бұрын
Just like always, an excellent crash course! Thank you for keeping me updated!
@mahmoudhassen4463
@mahmoudhassen4463 2 жыл бұрын
Thanks for this easy-to-learn tutorial, Brad. You're the best!
@vedymin7
@vedymin7 2 жыл бұрын
This pace is excellent for junior devs who already know what is loop, for, variable etc. And we don't need that here. Many many thanks!
@VenkateshMogili
@VenkateshMogili 2 жыл бұрын
Thank you very much brad, I really looking for more easy and simple example like how you explained for Generics. I watched many videos but all are high level to understand, but you made it very easy to understand Generics very easily. Thank you brad.
@ccanyanwu
@ccanyanwu 2 жыл бұрын
Thanks for breaking it down to this level Brad. You're the best
@djgulston
@djgulston Жыл бұрын
Fantastic video! I needed to look at this because I'm going to do an at-home assessment for a code reviewer job role for a coding bootcamp company that I graduated from recently. I can choose to review the code in a language that I already know, but I want to do a review in a language that I don't know to prove how much I'm willing to learn new languages and technologies. And since I graduated from this place, they know exactly what I learned from them and what I didn't learn from them.
@samirvaliyev
@samirvaliyev 2 жыл бұрын
Perfect timing Brad. Thank you for this crash typescript course.
@SafaKadir
@SafaKadir Жыл бұрын
Really great! Along with my prior Java and Javascript knowledge, I learned all I need to know about type script from this course. Now I started to feel confident about type script and can start coding with it right away.
@OrincyWhyteDesigns
@OrincyWhyteDesigns 2 жыл бұрын
Im 2 months into learning how to code, and … i cant comprehend how you all remember all this stuff. Im just amazed 🤯
@sogzful
@sogzful 8 ай бұрын
That intro music gets me giddy every single time. Thanks for your efforts Brad.
@Kay8B
@Kay8B 2 жыл бұрын
coming from C# to JS I always wondered where Types went and it made have to define explicit if blocks to avoid errors, nice to see this exists for JS now.
@Room3102
@Room3102 2 жыл бұрын
Just the explanation I needed to kick start a new project I was assigned to. Thanks!!!
@zalodias123
@zalodias123 2 жыл бұрын
It's really refreshing to see someone teaching Typescript without jumping on the hype train. The way you explain things impartially, take into the account the pros and cons, is something really valuable. Thanks for that Brad!
@yorkitca
@yorkitca 2 жыл бұрын
Liked before even watching a second of the content as I already know it's going to be excellent like every other video from Brad. But I will definitely watch till the end.
@nikhilratta4076
@nikhilratta4076 2 жыл бұрын
You are doing a great job making these courses . Keep moving forward!
@vladislavamarkova8379
@vladislavamarkova8379 2 жыл бұрын
Great tutorial on Typescript. I found it really useful, without unnecessary talking. And it was interesting and helpful. Thank you very much!
@craiggazimbi
@craiggazimbi Жыл бұрын
The void type took me back to C++ , man what a time, thank you Brad
@mahbub4nobody
@mahbub4nobody 2 жыл бұрын
Awesome man!! Before this video, I tried to see some shorter-length tutorials and fall asleep. But this hour-length tutorial kept me awake, almost. Thanks.
@graemegrant6669
@graemegrant6669 2 жыл бұрын
Brad your work is awesome….can’t wait to Learn typescript from you. Thanks Again!
@LucasSantos-uw7uc
@LucasSantos-uw7uc 2 жыл бұрын
Legit the best TypeScript tutorial on KZbin.
@emenikedaniel
@emenikedaniel Жыл бұрын
*Thanks for this solid course Traversy.* If anyone here writes Golang as well, then typescript knowledge becomes a bit intuitive. There are also Generics, Struct(Types in TS), Interface and Slices(Arrays in TS) in Golang, same in TS. Makes me appreciate the knowledge of both worlds💙
@wayneswildworld
@wayneswildworld 2 жыл бұрын
He really is just the best. Like that's it, he makes excellent tutorials on the most important topics that we need.
@amirreza-dev
@amirreza-dev 2 жыл бұрын
This guy is a wizard!!! He knows what we need And that's an awesome course thanks Brad
@nathanlemma
@nathanlemma 7 ай бұрын
Concise, to the point, so valuable, comprehensive, I love it. Thanks 🙏
@mediocreTyler
@mediocreTyler 2 жыл бұрын
Love your tutorials Brad, thanks for all the help and free knowledge
@muhammadsheharyar999
@muhammadsheharyar999 2 жыл бұрын
Thank you so much Brad for this amazing amazing crash course. This helped me so much.
@tdematos
@tdematos Ай бұрын
One of the easiest explanations of typescript that I've seen! Thanks again Brad!
@annakarpiuk438
@annakarpiuk438 2 жыл бұрын
Great course for beginners! I definitely need more info about tuples, enums, generics etc., but at least I've almost effortlessly acquired basic syntax
@Gamewithstyle
@Gamewithstyle 2 жыл бұрын
Funny, I was just thinking about getting into TS and you put this out. Perfect timing!
@umeshkhanna5000
@umeshkhanna5000 2 жыл бұрын
Thank you for this course, really looking forward to learn more.
@abenjamin13
@abenjamin13 2 жыл бұрын
I think Brad is tuned into all us devs. I’m currently working on a angular 12 project and need some extra typescript knowledge 👍 Thank you 🙏
@2222974Vairus
@2222974Vairus 2 жыл бұрын
Just when I need it the most Brad brings our a course for it . SAVED
@akanimohosutuk928
@akanimohosutuk928 2 жыл бұрын
This channel helped my start coding, now I build blockchain platforms. This channel is underrated
@fyardlest1
@fyardlest1 2 жыл бұрын
Brad just demystify the thing for me! Thanks a lot! I would like to see a Jasmine testing tuto like this one.
@mpb0406
@mpb0406 2 жыл бұрын
I've been wanting to eventually learn TypeScript. Great timing on the video
@UnknownEntity606
@UnknownEntity606 10 ай бұрын
Your tutorials are so much better than some of the other BS tutorials out there. This felt like 10 minutes even though it was over an hour. Thank you so much!
@AbhinavKulshreshtha
@AbhinavKulshreshtha Жыл бұрын
Starting a new job tomorrow, This is what I needed to brush off dust with a quick revision of TS concepts, before I show off my skills to my team
@appymango5995
@appymango5995 Жыл бұрын
Nice crash course, really up to the point on each step. Thanks for the video.
@sathyanarayanandhanuskodi1734
@sathyanarayanandhanuskodi1734 2 жыл бұрын
No more no less. Everything to get started. Advanced topics can be learned during the project. Thanks for the course Brad
@Riicky.Allves
@Riicky.Allves 2 ай бұрын
Thanks for the tutorial Brad. It was really useful 🙏🏽
@slinco65
@slinco65 8 ай бұрын
At last - a simple explanation of generics🎉 Thanks Brad 🙂
@XRP_321
@XRP_321 2 жыл бұрын
i literally been learning this for the past 12hrs...i think i get the idea. thanks to you and another content creator i will be posting my website up tonight. THANK YOU!!!!!!! quick question, do you have any videos on adjusting location of widgets and any other editing we might want to do? again, thank you!!!!!
@studywithanjana4547
@studywithanjana4547 2 жыл бұрын
Thank you Brad! You're a great teacher. 🙂🙏
@alittlegreyhair1104
@alittlegreyhair1104 3 ай бұрын
Another great instructional video from The Master. Thanks Brad for all your hard work.
@PlotTwists
@PlotTwists 2 жыл бұрын
Thanks Brad I've been wanting to try it out for a while now
@a.anvarbekov
@a.anvarbekov 2 жыл бұрын
i just wanted to looked up a little bit but watched till the end that was a really informative
@jsuwangsa
@jsuwangsa 2 жыл бұрын
great video that help me understand the fundamentals for a little bit. a great help as I really not know anything about TS and i want to learn. thanks for a great crash course!
@alexfox2038
@alexfox2038 Жыл бұрын
As someone who has worked a little with java before. This makes java script a lot easier to use. Seems more familiar now. Thanks for this tutorial!
@ltserge3226
@ltserge3226 2 жыл бұрын
This video is exactly what I needed can’t believe I survived angular so long without this
@user-js6hv9oi8f
@user-js6hv9oi8f 2 ай бұрын
It's amazing. Thank u a lot a have watched a ton of videos but you made me understand.
@exxzxxe
@exxzxxe 9 ай бұрын
Another great course spun up by the Master.
@werrutkyupnext
@werrutkyupnext Жыл бұрын
if feel like I am going over my js and learning ts, great tutorial
@himanshushukla6451
@himanshushukla6451 Жыл бұрын
You explain it so well. Thanks man. You're the GOAT
@bakhtiyor_sulaymonov
@bakhtiyor_sulaymonov 2 жыл бұрын
Thanks Brad for the quick intro to TS 👍
@nicolecandiotti5492
@nicolecandiotti5492 2 жыл бұрын
This has been so helpful, thank you so much Brad
@blatchie4608
@blatchie4608 2 жыл бұрын
This has been exactly what I needed. Thank you :)
@jacquesvanjaarsveld4017
@jacquesvanjaarsveld4017 Жыл бұрын
i dont often comment on YT vids man, but bloody well done. Really exactly what i was looking for
@afikhan5782
@afikhan5782 Жыл бұрын
Brad, you are the best tutor on this planet.
@shadigaafar3091
@shadigaafar3091 2 жыл бұрын
Thank you so much. I always enjoy your crash courses...
@jccorman5848
@jccorman5848 Жыл бұрын
Great introduction. I may add that in addition to this explaining TypeScript, it goes a long way in helping me understand GraphQL and setting up a GraphQL API server. Had I watched this video before learning about GraphQL Typedefs, I would have had a better understanding of graphQl
@jorgealameda
@jorgealameda 2 жыл бұрын
the BEST crash course, really well explained
@coltonwilliams1565
@coltonwilliams1565 2 жыл бұрын
Literally it’s like you know what I’m working with in real life and one day later you post a video on it
@tech_channel110
@tech_channel110 6 ай бұрын
what a explanation brad keep it up you are doing amazing for the student ,for the tech lovers love your teaching style
@ievgeniibielkin
@ievgeniibielkin Жыл бұрын
Really good overview! Thank you, Brad
@xanaduzhang186
@xanaduzhang186 2 жыл бұрын
Best All-in-One nice tutorial for Typescript!
@daleb6542
@daleb6542 2 жыл бұрын
Just when I needed it, Thanks Brad!
@mwdcodeninja
@mwdcodeninja 2 жыл бұрын
Very helpful! You should look at Dgraph. Your closing remark about using NextJS with TS is exactly what we're doing and using a graph-first data storage solution with dgraph and graphql. 0 backend api needed.
@coding_phoenix
@coding_phoenix Жыл бұрын
Thank you ver much Brad despite my knowledge of typescript I gained a lot from this tutorial especially I now have deep understanding of classes
@soromiso
@soromiso 2 жыл бұрын
Thank u, it's a very useful short lecture to have a comprehension of TypeScript
@wanderingknight10
@wanderingknight10 2 жыл бұрын
Good lookin Bro…very well put together..keep up the good work big guy 🤟🏽
@ruslanvyshnevskyi1468
@ruslanvyshnevskyi1468 2 жыл бұрын
Realy informative and concise 👍 Great place to start to supplement it later with an official handbook
@geraldmacias7037
@geraldmacias7037 2 жыл бұрын
man you are genius, this is all i was needed! thank you soo much sensei!
Svelte Crash Course
1:20:52
Traversy Media
Рет қаралды 224 М.
This Is A Great Beginner React/TypeScript Project
44:25
Web Dev Simplified
Рет қаралды 113 М.
原来小女孩在求救#海贼王  #路飞
00:32
路飞与唐舞桐
Рет қаралды 7 МЛН
0% Respect Moments 😥
00:27
LE FOOT EN VIDÉO
Рет қаралды 35 МЛН
React Hooks Course - All React Hooks Explained
1:26:21
PedroTech
Рет қаралды 1 МЛН
TypeScript Tutorial for Beginners
1:04:28
Programming with Mosh
Рет қаралды 1,1 МЛН
TypeScript in React - COMPLETE Tutorial (Crash Course)
53:21
ByteGrad
Рет қаралды 174 М.
Stop Worrying About AI!
6:40
Traversy Media
Рет қаралды 46 М.
TypeScript - The Basics
12:01
Fireship
Рет қаралды 1,5 МЛН
Learn TypeScript Generics In 13 Minutes
12:52
Web Dev Simplified
Рет қаралды 193 М.
TypeScript Course for Beginners - Learn TypeScript from Scratch!
3:16:40
Learn Typescript with React | Quick Crash Course
16:59
developedbyed
Рет қаралды 86 М.
Are You Too Dumb To Code? A Chat About Imposter Syndrome
7:08
Traversy Media
Рет қаралды 61 М.
How to use TypeScript with React... But should you?
6:36
Fireship
Рет қаралды 893 М.
ИГРОВОЙ ПК от DEXP за 37 тысяч рублей из DNS
27:53
Секретная функция ютуба 😱🐍 #shorts
0:14
Владислав Шудейко
Рет қаралды 2,2 МЛН
iPhone 15 в реальной жизни
20:03
HUDAKOV
Рет қаралды 700 М.
Creepy Samsung Alarm cannot be turned off 😱🤣 #shorts
0:14
Adani Family
Рет қаралды 117 М.