Ensure `user-event` folder is included into final bundle
What:
With the changes introduced in #24, there's a user-events folder inside the types folder that isn't being added to the final, published, library. This change ensures that this folder is also included.
Why:
Since there's a reference to the folder inside of types/pure.d.ts, the whole types for the userEvent library become any.
How:
By adding types/user-event/**/*.d.ts to the list of included files, we're ensuring the final bundle also includes the content of the types/user-event folder.
Checklist:
- [N/A] Tests
- [N/A] TypeScript definitions updated
- [N/A] Ready to be merged
@crutchcorn are you able to please take a look at this and potentially release a patch of the library? 🙏🏼
Huge apologies for the delay! Let me merge this, but then I'll be restructuring this project so this can't happen again