Today I used patch-package to patch [email protected] for the project I'm working on.
This is required for TypeScript to work with packages that have exports when using the new moduleResolution: node16/nodenext/bundler settings. When those are not used then TypeScript just ignores package.json#exports - but when you make it aware of exports by using those options then it requires the types to be included in exports and not as the top-level key of package.json
I'm not sure if there is a more elegant way to specify the exports - especially since there are so many listed in the package.json file.  I just augmented the ones for the bundled components.