You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
The text was updated successfully, but these errors were encountered:
gunters63
changed the title
exports of user-event package.json are missing "types""
exports of user-event package.json are missing "types" entry
Aug 6, 2022
eps1lon
transferred this issue from testing-library/react-testing-library
Aug 6, 2022
@testing-library/react
version: 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.
The text was updated successfully, but these errors were encountered: