TypeScript 3.9 is now available
TypeScript speeds up your development experience by catching errors and providing fixes before you even run your code.
What is TypeScript?
Types provide a way to describe the shape of an object, providing better documentation, and allowing TypeScript to validate that your code is working correctly.
Writing types can be optional in TypeScript, because type inference allows you to get a lot of power without writing additional code.
A Result You Can Trust
TypeScript’s type inference means that you don’t have to annotate your code until you want more safety.
Types On Every Desk
Consistently Good Tooling
By handling a lot of the editor integration inside TypeScript, you can get a consistent experience working in many editors.
Evolving with Standards
When new features have reached stage 3, then they are ready for inclusion in TypeScript.
For example the TypeScript team championed proposals like Optional Chaining, Nullish coalescing Operator, Throw Expressions and RegExp Match Indices.
First, we were surprised by the number of small bugs we found when converting our code.
Second, we underestimated how powerful the editor integration is.
TypeScript was such a boon to our stability and sanity that we started using it for all new code within days of starting the conversion
Learn the language
Find a bootstrapping tool
Start a Project
Keep up to date
Deep dives into TypeScript
You can install TypeScript via npm
npm install -g typescript
Then run the compiler via
Learn more about how to add TypeScript to your apps in the installation page