Today we are thrilled to release a new TypeScript website! The new site delivers a fresh design, more up-to-date documentation, and soon a new series of quick start guides.
TypeScript is developed on GitHub, and as such, all of the documentation is written in markdown on the TypeScript Handbook repo. This is primarily done to easily allow contributions. Any community member can make edits to the documentation by simply dropping a pull request on the handbook repo. While this is great for community collaboration, previously, updating the website docs from the wiki was a very slow and manual process. The new site uses Jekyll to generate html pages from the wiki markdown pages. This means we can continue using GitHub to take community contributions on the docs, but also keep the website up-to-date with rapid updates.
The new site surfaces several significant documentation changes:
- Modules and namespaces have received a full rewrite based on feedback from users about usage, compiling, and best practices.
- String literals,
thistypes, type assertions, enums,
for..ofloops, union types, decorators, triple-slash references, and intersection types now have their own sections detailing their usage.
- A What’s New section has been added to reflect the wiki and highlight feature sets by version number.
Is there a specific subject or set of docs that you are having a hard time understanding? Is there a specific workflow you are having trouble adding TypeScript to? Please let us know by dropping a comment below or creating an issue on GitHub!