Basarat is the Chinese translation of TypeScript Deep Dive.
Why
Source: NPM package downloads
As you can see, TypeScript has evolved to become a standard on large projects, providing a static typing system that makes code much more readable and maintainable. At the same time, it provides the latest and ever-evolving JavaScript features that allow us to build more robust components.
TypeScript Deep Dive is an excellent open source book that covers the full range of TypeScript wizardry, from the basics to the Deep, and will suit both the novice and the veteran. Also, unlike TypeScript’s official documentation (which is good, of course), this book gives you a deeper understanding of TypeScript with use cases for more practical applications (Vue, React, etc.).
There are some translations in the community today, but they seem to have stopped updating.
So on a whim one day, this RP was born.
Translation content
The TypeScript Deep Dive book contains a portion of JavaScript Futures and a few other things. We’re not going to translate it here, but if you’re interested, check out the chapter on JavaScript Futures in the original book.
Because TypeScript is updated frequently, I will add some interesting points (practices) that were not covered in the original book. I hope we can learn from each other and make progress together.
In addition, on the premise of not violating the original intention of the author, some contents will be translated freely instead of literal translation for more intuitive expression.
The last
If you fall in love with TypeScript as I did, you can subscribe to star to receive updates about the project.
If you have any questions about this article, please submit issues and share them with me.
If you think some of the translation is not accurate enough, or you want to add some interesting points not mentioned in the article, welcome PR.
Get started: Learn more about TypeScript