Skip to content

Update typings for optional option arguments #168

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 3, 2018
Merged

Update typings for optional option arguments #168

merged 2 commits into from
Sep 3, 2018

Conversation

gnapse
Copy link
Member

@gnapse gnapse commented Sep 3, 2018

What:

Update the typings to reflect that both arguments inside the render options are optional

Why:

Because TypeScript code using this library will not work when omitting one of the options.

How:

By updating the typings source file.

Checklist:

  • Documentation
  • Tests N/A
  • Ready to be merged
  • Added myself to contributors table

Both the container and the baseElement are optional.
@kentcdodds kentcdodds merged commit 056b1e5 into testing-library:master Sep 3, 2018
@kentcdodds
Copy link
Member

🎉 This PR is included in version 5.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gnapse gnapse deleted the patch-2 branch September 3, 2018 23:25
lucbpz pushed a commit to lucbpz/react-testing-library that referenced this pull request Jul 26, 2020
fix probable typo in click example code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants