Thank you for this! I'm actually fairly well-versed in TS, but I'm going to be teaching my team React with TS and I needed a refresher on *what* I should cover, haha.
Thank you Cj. This was really helpful. Also at 41:03 , what shortcut did you use to highlight the entire 'person' on edit. I usually use shift+direction and that tends to be slower
On a Mac I use "alt+shift+left arrow" on PC I think it would be "ctrl+shift+left arrow" Here are the main shortcuts I use: gist.github.com/w3cj/022081eda22081b82c52
Typescript is a typed-sensitive superset of Javascript just like C++ is typed-sensitive, object orientated superset of C (Reference: C++ inside & out book by Bruce Eckel)
I recently ran into a curious case with TypeScript. I was creating a helper function that wraps promises and does stuff with their resolved or rejected values. The problem is that the Promise generic only specifies a resolved type, not a rejected one, so I couldn't figure out how to annotate the rejected value inside the helper function. I resorted to using "any", but I try to avoid that if at all possible. Is there a better way to do this?
Just used this to set up TypeScript in a project I was working on and it worked perfectly. Thank you!
My typescript journey is begin from this video. Thanks @coding_garden. Best coding channel, I've ever seen. Take love.
Thank you for this! I'm actually fairly well-versed in TS, but I'm going to be teaching my team React with TS and I needed a refresher on *what* I should cover, haha.
I've always been intimidated / frustrated switching to TypeScript on my personal projects but you've convinced me to give it another go, thanks CJ!
CJ YOU ARE AWESOME ! Thanks for you content!
Yay!!
Finally it's here!!!
This was super helpful!
Thank you.. very informative!!
Thank you Cj. This was really helpful.
Also at 41:03 , what shortcut did you use to highlight the entire 'person' on edit. I usually use shift+direction and that tends to be slower
On a Mac I use "alt+shift+left arrow" on PC I think it would be "ctrl+shift+left arrow"
Here are the main shortcuts I use: gist.github.com/w3cj/022081eda22081b82c52
This channel is underrated ❤
Awesome man. Thanks!
It was awesome cj, what is your vs code theme?
github.com/CodingGarden/vscode-settings#themescolor
Typescript is a typed-sensitive superset of Javascript just like C++ is typed-sensitive, object orientated superset of C (Reference: C++ inside & out book by Bruce Eckel)
I really need this..🙌🏼🙌🏼
back you yt?
What a good video! Thank you so much.
Thank you Sir
I like this... I don't watch your normal videos because they're too long and unstructured
agreed. i would watch more of his stuff if it was like this
Fwiw I love both, unstructured works v well for me at 2x speed
I recently ran into a curious case with TypeScript. I was creating a helper function that wraps promises and does stuff with their resolved or rejected values. The problem is that the Promise generic only specifies a resolved type, not a rejected one, so I couldn't figure out how to annotate the rejected value inside the helper function. I resorted to using "any", but I try to avoid that if at all possible. Is there a better way to do this?
Typescript with React please👏
This was a very good introduction! I feel like I'm ready to start TS now and I will!
❤❤
Add your VS Code setup in the description please
You can view my setup here: github.com/CodingGarden/vscode-settings
TS is shit. I type code with TS and still have errors in production ☺️
Oh now we have a language that behaves like Java. KEKW