Ask HN: What are the best resources for learning TypeScript?

1 points by esperent ↗ HN
I use TypeScript every day, and I most definitely know the basics and even a bit more. But the last time I sat down and actually studied it was a few years ago, and there's been several changes since.

Also, whenever I see something like this:

https://news.ycombinator.com/item?id=41865642

... I realize that maybe I know even less than I thought! Although maybe that's a good thing, types should be kept as simple as possible after all.

I'd like to update and increase my TypeScript knowledge. What are the best resources for this? I like books and docs, and get plenty of daily practice without following challenges, but in the interest of making this useful for people who find it from a search engine, please share all resources that you've found useful :)

3 comments

[ 1.2 ms ] story [ 14.5 ms ] thread
About a quarter through this one:

https://effectivetypescript.com/

Also, for a deeper, theoretical understanding of functional and generic programmers, I highly recommend Programming Languages Part A by Dan Grossman on Coursera. That single class did more to open my mind about what is a “programming language”, than anything in my career.

Thanks, I'll check both of those out. I started reading TypeScript Deep Dive which is free and seems decent so far.

https://basarat.gitbook.io/typescript

Notes on Typescript deep dive: while it's written to give you the impression that it's kept up to date, and each page has a link at the bottom saying updated 4 years ago (not too bad), in reality it was written in 2016 and contains a lot of information related to the state of JavaScript in that year - when promises, classes, all the ES6 stuff wasn't a normal part of the library and when compilation to ES3 (!) was still a thing.

This means there's a lot of no longer relevant fluff to wade through, and if you learned JavaScript some time in the last <6 years it might be actively confusing.

It's a pity because, aside from this, it's very well written.