Skip to content
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

Pr/issue 226 findby type definitions #231

Conversation

JaxCavalera
Copy link
Contributor

@JaxCavalera JaxCavalera commented Mar 20, 2019

What:

Why:

  • Helps users of this package working with typescript

How:

  • Followed the outlined queries documentation to ensure all listed queries now have findBy and findAllBy type definitions.
  • Adjusts order so it reads in the same order as listed in the API documentation.

Checklist:

  • Documentation added to the docs site NA
  • [X ] Typescript definitions updated
  • Tests NA
  • Ready to be merged

I have left ByValue, BySelectText as is for now since there is a dedicated issue to removing the deprecated queries.

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Sorry about the git hook issues :-(

Just one change I think. Thanks!

typings/queries.d.ts Show resolved Hide resolved
Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super! Thank you 💯

@kentcdodds kentcdodds merged commit e97e51c into testing-library:master Mar 20, 2019
@kentcdodds
Copy link
Member

@all-contributors please add @JaxCavalera for code

@allcontributors
Copy link
Contributor

@kentcdodds

I've put up a pull request to add @JaxCavalera! 🎉

@kentcdodds
Copy link
Member

🎉 This PR is included in version 3.18.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants