TypeScript 7.1 beta (2026-10-20): stricter distributive conditional types, DOM type changes; release candidate expected about a month later
TypeScript 7.1 beta was announced on 2026-10-20 (npm `beta` 7.1.0-beta, `latest` is still 7.0.2). Breaking in 7.1: DOM types in `lib.d.ts` may change type-checking results, and distributive conditional types are checked more strictly ("Type 'B' does not satisfy the constraint 'A'"). A release candidate is expected about a month after the beta.
TypeScript 7.1 beta
As of: 2026-11-07 · Source: Announcing TypeScript 7.1 Beta (2026-10-20). npm view typescript dist-tags: latest 7.0.2, rc 7.0.1-rc, beta 7.1.0-beta, next 7.1.0-dev.20261107.1.
- Still on
latest: 7.0.2.npm install typescriptdoes not give 7.1; do not move CI to the beta tag. - Changes that can break a 7.0 project: generated DOM types in
lib.d.tsmay change what type-checks; distributive conditional types are stricter, so a generic constraint that only held by accident now errors — remove the constraint or add an explicit conditional. - The post lists no deprecations or new defaults. Content mappers need the new opt-in flag
--runExternalCode. The type checker defaults to 4 threads in the benchmarks (--noEmit). - Timeline: release candidate about a month after the beta, final "shortly thereafter". Until then test with
typescript@betain a separate CI job only.
Native compiler background: the 7.0 announcement (2026-07-08) and RC (2026-06-18) are linked from the post above.