TypeScript Speedrun: Crash Course for Beginners

preview_player
Показать описание
The ultimate TypeScript tutorial is the TypeScript docs. In this video, I take you on a crash course of the TypeScript handbook, focusing on the beginners section.

To continue your journey, take Matt's beginner's course. It's free, interactive, and fast-paced.

00:00 Intro
00:37 TypeScript for JavaScript Programmers
03:16 TypeScript Handbook
03:26 Runtime errors
03:44 Error Messages
05:26 3rd-party libraries
06:08 Installing TypeScript
06:27 Running tsc
07:23 TypeScript on CI
08:11 Strictness
09:39 Should you be strict?
10:35 string, number, boolean
10:56 Arrays
11:50 Arrays vs Tuples
12:16 any
13:41 Typing variables
14:11 Typing functions
15:02 Object types
16:05 Optional object properties
16:45 Union types
18:05 Type and Interface
18:59 Type assertions
20:06 as any
20:42 Literal types
22:26 null and undefined
22:56 Outro
Рекомендации по теме
Комментарии
Автор

I just want to say the thumbnail for this crash course is beautiful! I clicked it as soon as I saw it.

ovuokeaghwotu
Автор

Hey Matt, you're an awesome tutor, the way you structure your videos and how you express it in magnificient manner makes you a pionner of Typescript and any other advanced topic. I really enjoy your tutorials, thanks for share your talent and knowledge with all of us. 👍

expertdev
Автор

I already know all of this, but I'm still watching because I like the way you explain things :)

loic.bertrand
Автор

Thank you Matt for this speed run, yeah one video on Generics as well.

faizanahmed
Автор

"Of course I misspelled it, you silly goose". Made my day man again

testaenzo
Автор

Like the missing 'notes on' or 'study guide' like you got when reading Shakespear or Chaucer but for the Typscript documentation. A much needed and trusted roadmap for going to the right notes and necessarily in the right order. Thanks for publishing this walkthrough. The timestamps are also very usefull for use as reference in future re-views of the same.

JonBrookes
Автор

Can't wait for the awesome types done quick this year!

leopolon
Автор

Your TS exercices git repo is amazing, I cloned it and strarted fixing them on by one, I've learned some tricks, thank you

hsider
Автор

Love this. I'm new to coding and JS. I got stuck on what was a simple problem for a week because I didn't understand the error messages. Going through your videos are very helpful.

reallions
Автор

Love this. Will definitely be following this series even though I've been using Typescript for a while.

PraiseYeezus
Автор

I'm still annoyed that YouTube never suggested this to me! Please keep making long-form content like this!

zombiefacesupreme
Автор

how very innocent of matt to say "you silly goose" haha 😊😊

AbdullahTBukhari
Автор

Beginner is a nice content that is a reminder and explains its logic as a level for me . Please do part 2 :)

berkaygurcan
Автор

Awesome content! Keep bringing it to us

ota-ke
Автор

Thank you from Ukraine, for this speedrun. You have amazing skill to explain smth. )

vladko
Автор

Thank you, Matt! Really nice lessons on TypeScript

makkapoya
Автор

nice one, Matt. I wish I had discovered your error plugin 6 months ago! Better late I guess. I'm really glad that you're dissecting the handbook and highlighting the key takehomes. Showing "obj as undefined as Type2" is super helpful - it took me months to figure that out on my own. And warning about "any" is great.

jasonstewart
Автор

when you mentioned that the ts errors are famous for not being super readable, the thought came to my mind, hey I bet an extension could easily fix that, paused your video went on google to search does something like that exist and landed back on another video of yours XD

lukasmolcic
Автор

Great summary 👍 Typescript is what JavaScript should have been years ago but somehow less intelligent people took control and a big mess was created that now more intelligent people are fixing. Union types are dirty feature though and exposes a missing Typescript features: overloading of methods.

TimothyBrake
Автор

love it thanks for this one(you won a new susriber )
waiting for the generics speedrun ;)

RobertoDuransh