TypeScript 5.6 introduces several key updates and improvements. Notable changes include reverted behavior for tsconfig.json searching, renamed types such as BuiltinIterator to IteratorObject, the new --stopOnBuildErrors flag, disallowed nullish and truthy checks, support for commit characters and exclude patterns for auto-imports, and stricter checks for built-in iterator results. The release also brings region-prioritized diagnostics in editors and a new --noCheck option for skipping type checking in certain scenarios.

•25m read time•From devblogs.microsoft.com
Post cover image
Table of contents
What’s New Since the Beta and RC? Copy linkDisallowed Nullish and Truthy Checks Copy linkIterator Helper Methods Copy linkStrict Builtin Iterator Checks (and --strictBuiltinIteratorReturn ) Copy linkSupport for Arbitrary Module Identifiers Copy linkThe --noUncheckedSideEffectImports Option Copy linkThe --noCheck Option Copy linkAllow --build with Intermediate Errors Copy linkRegion-Prioritized Diagnostics in Editors Copy linkGranular Commit Characters Copy linkExclude Patterns for Auto-Imports Copy linkNotable Behavioral Changes Copy linkWhat’s Next? Copy link
1 Comment

Sort: