Revert "Bundle: Allows TypeScript in JS bundles. (#1347)"

This reverts commit b6d56537d5633250e61b6feb94dc6f1e2024b5b8.