Microsoft 11806 Published by

TypeScript 5.7 has been released, enhancing JavaScript with additional syntax for type declarations and annotations. The TypeScript compiler utilizes this syntax to perform type-checking on code and subsequently erase it, resulting in clean and idiomatic JavaScript. TypeScript serves as a superset of JavaScript, ensuring that any valid JavaScript code is also valid TypeScript code.



Announcing TypeScript 5.7

Today we excited to announce the availability of TypeScript 5.7!

If you’re not familiar with TypeScript, it’s a language that builds on JavaScript by adding syntax for type declarations and annotations. This syntax can be used by the TypeScript compiler to type-check our code, and it can also be erased to emit clean, idiomatic JavaScript code. Type-checking is helpful because it can catch bugs in our code ahead of time, but adding types to our code also makes it more readable and allows tools like code editors to give us powerful features like auto-completion, refactorings, find-all-references, and more. TypeScript is a superset of JavaScript, so any valid JavaScript code is also valid TypeScript code, and in fact, if you write JavaScript in an editor like Visual Studio or VS Code, TypeScript is powering your JavaScript editor experience too! You can learn more about TypeScript on our website at  typescriptlang.org.

Announcing TypeScript 5.7 - TypeScript