Hacker News new | past | comments | ask | show | jobs | submit login

If you're comfortable with JS, you don't need a book to learn TS.

There are two main resources I would recommend:

- for those who prefer written content, the TypeScript Handbook [1]

- for those who prefer video content, the first couple videos of Jack Herrington's No BS TS series [2]

Other than that, just start using it. My main advice would be that your TS code should look as much like JS code as possible, ie don't explicitly type everything, just rely on inference where possible. Basic generics can be useful occasionally, but most of the "Type Challenge" type stuff is only really useful to library developers.

[1] https://www.typescriptlang.org/docs/handbook/intro.html

[2] https://www.youtube.com/watch?v=LKVHFHJsiO0&list=PLNqp92_EXZ...




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: