A beta version of TypeScript 5.5, high-level programming language, is now available from Microsoft. TypeScript adds static typing and optional type annotations to JavaScript. It is free and open-source. With its ability to transpile to JavaScript, it is well-suited for building massive apps.
Announcing TypeScript 5.5 Beta
Today we are excited to announce the availability of TypeScript 5.5 Beta.
To get started using the beta, you can get it through NuGet, or through npm with the following command:
Copynpm install -D typescript@beta
Here’s a quick list of what’s new in TypeScript 5.5!
- Inferred Type Predicates
- Control Flow Narrowing for Constant Indexed Accesses
- Type Imports in JSDoc
- Regular Expression Syntax Checking
- Isolated Declarations
- The
${configDir}
Template Variable for Configuration Files- Consulting
package.json
Dependencies for Declaration File Generation- Editor and Watch-Mode Reliability Improvements
- Performance and Size Optimizations
- Easier API Consumption ECMAScript Modules
- The
transpileDeclaration
API- Notable Behavioral Changes