Skip to content- Sources: primary, discussion
- Summary: TypeScript 7.1 Beta ships an API split into typescript/sync, typescript/async, typescript/fs and typescript/ast entry points. API and Program objects are disposable and must be closed to avoid leaks on the Go side. The release also allows declare module patterns keyed on import attributes, supports import source for WebAssembly, and adds es2026 as a stable target and lib.
- Why it matters: Tool authors who were blocked on 7.0 now have a programmatic API to port linters and build tools to, built around explicit disposal and snapshots.