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

fix: typescript definitions for suggestions #630

Merged

Conversation

marcosvega91
Copy link
Member

What:

I have updated typescript definitions

Why:

As before you can't pass both variant and method parameters

How:

I have added two new types Variant and Method and used them as types for the respective params.
Method params is also optional

Checklist:

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

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 13, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit ea1a0ec:

Sandbox Source
condescending-christian-2rphm Configuration

@codecov
Copy link

codecov bot commented Jun 13, 2020

Codecov Report

Merging #630 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #630   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           24        24           
  Lines          565       565           
  Branches       142       141    -1     
=========================================
  Hits           565       565           
Impacted Files Coverage Δ
src/suggestions.js 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 30a1ee8...ea1a0ec. Read the comment docs.

types/suggestions.d.ts Outdated Show resolved Hide resolved
types/suggestions.d.ts Outdated 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.

LGTM! Thanks 😁

@kentcdodds kentcdodds merged commit 7f8a15e into testing-library:master Jun 13, 2020
@kentcdodds
Copy link
Member

🎉 This PR is included in version 7.14.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.

None yet

3 participants