This is sample repository demonstrates how to use Rollup, TypeScript and Babel
npm run build
npm run build:types
npm run type-check
And to run in --watch mode:
npm run type-check:watch
A sample setup using Rollup and Babel to build TypeScript code, and using TypeScript for type-checking.
TypeScript