Change8

TypeScript

Dev Tools

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

Latest: v6.0-beta9 releases4 breaking changes4 common errorsView on GitHub

Release History

v6.0-beta1 fix
Feb 18, 2026

This release announces the beta availability of TypeScript 6.0.0 and links to the resolved issues for this milestone.

v5.9.2
Oct 1, 2025

TypeScript 5.9.2 is a stable release that points to the correct commit following the Beta and RC phases, with no specific functional changes over the previous 5.9 iterations.

v5.9-rc
Oct 1, 2025

TypeScript 5.9 RC release including bug fixes and updates tracked across the 5.9.0 Beta and 5.9.1 RC milestones.

v5.9-beta
Oct 1, 2025

This is the Beta release of TypeScript 5.9.0. The tag was recreated to ensure alignment with the npm package content.

v5.8.3Breaking4 fixes5 features
Oct 1, 2025

TypeScript 5.8 introduces the --erasableSyntaxOnly flag, support for Node.js 18 module resolution, and optimizations for ESM interoperability while deprecating older import assertion syntax.

v5.9.31 fix
Oct 1, 2025

TypeScript 5.9.2 is a stable release primarily focused on consolidating fixes from the 5.9 development cycle, with no specific new changes introduced between 5.9.1 and 5.9.2.

v5.8.2Breaking3 fixes5 features
Feb 28, 2025

TypeScript 5.8 introduces the 'erasableSyntaxOnly' flag, support for 'require()' of ESM in Node.js, and stricter checks for 'use strict' prologues. It focuses on performance optimizations and better compatibility with modern JavaScript runtimes.

v5.8-rcBreaking1 fix5 features
Feb 28, 2025

TypeScript 5.8 introduces the --erasableSyntaxOnly flag, improves type checking for conditional return expressions, and updates import attribute requirements to align with modern Node.js standards.

v5.8-betaBreaking1 fix4 features
Jan 29, 2025

TypeScript 5.8 Beta introduces the --erasableSyntaxOnly flag for better compatibility with non-TS transpilers and refines module resolution for Node.js environments.

Common Errors

NotFoundError1 report

The "NotFoundError" in TypeScript often arises when the compiler can't find a specified module, file, or declaration. To fix this, first ensure all necessary packages are installed by running `npm install` or `yarn install`. Then, double-check import paths and file names for typos or incorrect relative/absolute paths in your TypeScript code and tsconfig.json.

BadRequestError1 report

BadRequestError in TypeScript often arises when the compiler inadequately infers generic types within asynchronous functions, especially those involving discriminated unions like Result/Ok/Err. To fix this, explicitly provide type arguments to the function call or add type annotations to guide the compiler's inference process, ensuring the return type is properly resolved, especially when dealing with branching logic. Also, verify that your type definitions don't have circular references or overly complex constraints that confuse the type checker.

InvalidInputError1 report

InvalidInputError usually indicates that the provided input fails to meet the expected type or format, especially within conditional branches or exhaustiveness checks. Resolve this by carefully validating input types, ensuring all possible input values are handled in conditional statements (e.g., using `else` or a `default` case in switch statements), or employing type guards to narrow down input types before use. Alternatively, if using discriminated unions, verify that exhaustiveness checks cover all union members by using `never` or a similar mechanism.

NotAnError1 report

The "NotAnError" TypeScript error usually arises when a type representing an error is used where a generic type or conditional type expects a concrete error class or interface. Ensure that your error types are properly defined (e.g., using `class` or `interface`) and that you are correctly referencing or extending built-in `Error` types to satisfy the compiler's type constraints; explicitly cast or use type guards if necessary to narrow the type to a known error type.

Related Dev Tools Packages

Subscribe to Updates

Get notified when new versions are released

RSS Feed