talira

Compare

rollup-plugin-typescript2rollup-plugin-dtstsdownunplugin-dts
What it isRollup plugin that compiles TypeScript and reports its type errorsBundle TypeScript .d.ts declaration files with RollupLibrary bundler for TypeScript and JavaScript, built on RolldownGenerate .d.ts declaration files from TypeScript or Vue sources in your bundler
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.340.520.720.53
Stars82387243531534
Last commit2026-07-232026-11-242026-11-262026-11-04
LicenceMITLGPL-3.0-onlyMITMIT
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins————
MCP server————
CompanyEugene ZolenkoArpad BorsosVoidZero
venture-backed
qmhc
Features
  • Prints TypeScript's syntactic and semantic errors during a Rollup build
  • Uses the compiler options and files from tsconfig.json, with overrides
  • Emits declaration files and declaration maps
  • Caches compilation between builds
  • Can type-check and emit declarations while another plugin transpiles
  • Works in Rollup's watch mode
  • bundles .d.ts files into one declaration file
  • externals such as @types left out automatically
  • declaration maps for Go to Definition
  • Bundles TypeScript and JavaScript libraries and generates declaration files
  • Built on Rolldown and Oxc
  • Supports Rollup, Rolldown and unplugin plugins, and some Vite plugins
  • Compatible with tsup's main options, with a migration guide
  • generates .d.ts files from TypeScript and Vue sources
  • works with Vite, Rollup, Rolldown, Webpack, Rspack and esbuild
  • can bundle types into one file
Limitations
  • Slower than the original rollup-plugin-typescript, since it runs the full type checker
  • Changes to type-only imports and ambient types don't trigger a rebuild in watch mode