TypeScript · Real-world situation · Experienced
Publishing a package with correct types for ESM and CommonJS
Consumers of your internal TypeScript library report type errors depending on whether they use ESM or CommonJS. How do you fix the package?
2:00