Skip to content

feat: Add buildQueries types #301

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 1 commit into from
Jul 1, 2019

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Jul 1, 2019

What:

Add types for buildQueries

Why:

Currently missing

How:

Using TypeScript 3.0 support for tuples in rest parameters

Checklist:

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

We should consider using the introduced helper types throughout the definitions just like buildQueries is used internally for the bundled 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.

Thanks!

@kentcdodds kentcdodds merged commit aa60afe into testing-library:master Jul 1, 2019
@kentcdodds
Copy link
Member

🎉 This PR is included in version 5.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@eps1lon eps1lon deleted the feat/buildQueries-types branch July 1, 2019 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants