TypeScript 5.8 RC is now available, featuring important updates like granular checks for branches in return expressions, support for require() of ECMAScript modules in --module nodenext, and the introduction of the --erasableSyntaxOnly option. Other key additions include the --libReplacement flag, optimizations on program loads
•11m read time• From devblogs.microsoft.com
Table of contents
What’s New Since the Beta? Copy linkGranular Checks for Branches in Return Expressions Copy linkSupport for require() of ECMAScript Modules in --module nodenext Copy link--module node18 Copy linkThe --erasableSyntaxOnly Option Copy linkThe --libReplacement Flag Copy linkPreserved Computed Property Names in Declaration Files Copy linkOptimizations on Program Loads and Updates Copy linkNotable Behavioral Changes Copy linkWhat’s Next? Copy linkSort: