Add TypeScript definitions for the build.
Review Request #14635 — Created Oct. 15, 2025 and updated — Latest diff uploaded
With the newer JS-based eslint configs, we import
@beanbag/eslint-plugin, resulting in warnings about it not having
definitions files. This change adds that, and switches up our build to
work more similarly to other JS packages we have (using rollup instead
of just invoking babel).
Did a build and saw that I no longer got warnings about missing
definitions.