Add Support to Typescript V7
Author: ttherealdevCreated Jul 26, 2026Updated Jul 30, 2026
tsup's DTS generation (via rollup-plugin-dts) crashes when using TypeScript 7.0.x. This appears to be caused by TypeScript 7.0 shipping without a stable programmatic/compiler API (the API is expected to land in 7.1 — see Microsoft's TS 7.0 announcement).
Reproduction
Minimal setup:
typescript:7.0.2tsup:8.5.1- Config with
dts: true(or default entry that triggers dts generation)
Run:
tsupSource: egoist/tsup