TypeScript.fm - The Friendly Show for TypeScript Developers

New ECMAScript Proposals, Cap'n Web, and TS on DOS/PlayStation | News | Ep 37

7 snips
Sep 30, 2025
Discover the latest updates in TypeScript with the introduction of a new default safety feature in version 6.0. Explore exciting ECMAScript proposals, including one for non-extensible private fields and the performance-enhancing Array.prototype.pushAll. Learn about Cap'n Web, Cloudflare's innovative RPC system, and the intriguing idea of running TypeScript on MS-DOS. Additionally, check out discussions on using JavaScript on PlayStation and the community's thoughts on effect-ts, weighing its complexities against benefits.
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Enable Safer Imports By Default

  • Upgrade to TypeScript 6.0 when feasible because noUncheckedSideEffectImports will be enabled by default to catch risky imports.
  • Treat this as a safety improvement that surfaces likely bugs or unintended side-effect-only imports.
INSIGHT

RSPack/SWC Supercharge TS Runtime

  • Jiti 2.6 swaps to SWC/RSPack and achieves an order-of-magnitude speed increase for TypeScript/ESM runtime startup.
  • Faster runtimes make TypeScript-first server workflows more competitive with Bun and Deno.
INSIGHT

Private Fields To Respect Nonextensibility

  • The ECMAScript proposal would make preventExtensions affect private fields so sealed objects cannot later receive private slots.
  • That change is breaking but aligns object non-extensibility semantics across public and private fields.
Get the Snipd Podcast app to discover more snips from this episode
Get the app