TypeScript's Migration to Modules
ARANK

One of the most impactful things we’ve worked on in TypeScript 5.0 isn’t a feature, a bug fix, or a data structure optimization. Instead, it’s an infrastructure change. In TypeScript 5.0, we restructured our entire codebase to use ECMAScript modules, and switched to a newer emit target.

devblogs.microsoft.com
Related Topics: TypeScript
1 comments
  • namespace を利用していた歴史的背景とそれによる性能への影響、代わりに modules を使うことによるバンドルサイズや実行速度の改善。エコシステムの成熟度に合わせて、将来的にはアウトプットも modules にしていく予定 / “TypeScript's Migration to Modules - TypeScript” htn.to/4anGcERPdu