exports of user-event package.json are missing "types" entry
envgap__testing-library__user-event-1024
01 / FAILURE SIGNATURE
As reported upstream
After the manual fix the error goes away.
Not a benchmark task.
- In a clean container the reported failure did not reproduce, or the known fix did not make the project run.
02 / ENVIRONMENT RECIPE
- Base commit
b6bbbd6026dab32a2e10e2165b7c15e99f2f51cb- Manifest
package.json- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
testing-library/user-event #1024 · read the original issue
- `@testing-library/react` version: 14.42
- Typescript >= 4.7 set to "moduleResolution": "Node16" (so it processes package exports)
<!-- Please describe why the current behavior is a problem -->
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.04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]