Welcome to the TypeScript Guidebook.
This guidebook supplements the official TypeScript Handbook while focusing on how to get the most out of TypeScript with minimal effort.
I will cover anything and everything you need when writing TypeScript. From how to use the language, to coding style and any tool that may be useful.
- Stay true to JavaScript
- Focus on code efficiency
- Focus on tool compatibility
- IDE / Editors
- Formatter
- Linter
I'll periodically update this repo. You can click the watch button if you want to be notified.
Recently I do most of my work in VS Code. So if you find that some guidelines doesn't work well in your IDE, let me know, and we can see how to get it working on your IDE.
- What's new
- Introduction
- JavaScript Syntax
- TypeScript Syntax
- Files and Projects
- Coding Practice
- Typings
With the rapid advancement of JavaScript and TypeScript, I may not able to keep this guidebook updated with the latest information.
Here are some additional resources in JavaScript and TypeScript:
- Official TypeScript Tutorial
- Official TypeScript Handbook
- TypeScript Playground is a great way if you want to quickly test out TypeScript syntax.
- TypeScript Deep Dive by That TypeScript Guy
- StackOverflow always a great place to ask questions
- TypeScript Gitter Channel the official Gitter channel for the TypeScript repository.\ You can get help from the TypeScript team directly here.
- Airbnb JavaScript
- @dzharii Awesome TypeScript
- @semlinker Awesome TypeScript
Interested in helping to make this guideline more useful to everyone? Great 🌷.
You can check out this contributing guide to get you get familiar with the convention we use here.