Typescript Resources for the uninitiated
09 April 19
TL;DR: below are a bunch of resources that are great for learning Typescript and understanding the point of it split into basic, intermediate and advanced topics. At the end of the list of resources there’s some tips on learning Typescript based on my experience.
The following resources cover the absolute essentials and give you the most important things.
- Typescript Basics on Fireship.io’s YouTube Channel by Jeff Delaney. Fireship is worth a look for many other videos about Typescript, RxJS and Angular - Jeff’s videos are always concise, practical and really clearly explained.
- Tutorials Point has an ok explainer on variables
- Object-Oriented vs Functional Typescript, again from Fireship, will cover a lot of concepts you need to start to understand why Typescript is a great tool whether you’re into OO or functional programming.
- Typescript Inheritance Deep Dive on Hackernoon is a ground up explanation about inheritance in TS and how its syntactic sugar compiles into vanilla JS.
- Advanced Typescript Types with Examples has some context around “Advanced” stuff, but things like the Record type should be easy to understand and utilise
- Generics in Basarat’s Typescript Deep Dive (this book is great across a range of TS topics.)
- Typescript Decorators
- Introduction to Type Declaration Files write your own type definition files.
Stuff to Consider Early on with Typescript
Understand why Typescript is a useful tool. TS gives you interfaces which allow you to plan and enforce a structure on the objects in your application. Interfaces are the basic building block of this because they enforce properties and types on objects - if you’re not interested in writing interfaces to represent the objects in your application, you won’t get the best out of Typescript.
-N.< Return to posts