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