TypeScript 6.0 has reached the release candidate stage on March 6, with general availability planned for March 17. The RC introduces a type-checking adjustment for function expressions in generic calls, particularly in generic JSX expressions, aligning behavior with the upcoming Go-based TypeScript 7.0. Other changes include deprecation of import assertion syntax extended to import() calls, updated DOM types reflecting latest web standards including Temporal APIs, the RegExp.escape function from the ES2025 proposal, and consolidation of DOM iterable type definitions. TypeScript 6.0 is the last version based on the JavaScript codebase before TypeScript 7.0 ships a Go-based compiler for dramatically improved performance.

2m read timeFrom infoworld.com
Post cover image

Sort: