Rollup-plugin-typescript2
lastmod 2026-11-10created 2023-07-054 edits
rollup-plugin-typescript2 is a plugin that compiles TypeScript in the Rollup bundler. Unlike the official plugin, it also performs type checking, reporting compile errors at build time, and supports generating declaration files (.d.ts). It is also used to generate type declarations in Vite's library mode.