@testing-library/react version: 14.42
- Typescript >= 4.7 set to "moduleResolution": "Node16" (so it processes package exports)
The new exports in package.json of user-event are missing the types entry.
This will break Typescript set to "moduleResolution": "Node16", in the tsconfig. It will just not find the types with this message:

Suggested solution:
"exports": {
".": {
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
},
After the manual fix the error goes away.
@testing-library/reactversion: 14.42The new exports in package.json of user-event are missing the types entry.
This will break Typescript set to "moduleResolution": "Node16", in the tsconfig. It will just not find the types with this message:
Suggested solution:
After the manual fix the error goes away.