Announcing TypeScript 5.8 Beta
TypeScript 5.8 Beta introduces several new features, including support for conditional and indexed access types, improved interoperability between ECMAScript modules and CommonJS with the `--module nodenext` flag, the `--erasableSyntaxOnly` option to ensure compatibility with Node.js' experimental TypeScript support, and optimizations for program loads and updates. Additionally, it incorporates new flags like `--module node18` and `--libReplacement` for better fine-tuning of module behaviors and library replacement lookups.