


Type-checking can help catch lots of common mistakes, from typos to logic errors.īringing types to JavaScript also allows us to build great tooling, since types can power features like code completions, go-to-definition, and refactorings in your favorite editor. If you’re not familiar with TypeScript yet, it’s a language that builds on JavaScript by adding syntax for types which can be used for type-checking. We’ve implemented the new decorators standard, added functionality to better support ESM projects in Node and bundlers, provided new ways for library authors to control generic inference, expanded our JSDoc functionality, simplified configuration, and made many other improvements. This release brings many new features, while aiming to make TypeScript smaller, simpler, and faster. Today we’re excited to announce the release of TypeScript 5.0!
