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(TS): add stateAndHelpers as input type to onOuterClick #477

Conversation

EricHenry
Copy link
Contributor

What: Include the correct parameter type to the onOuterClick function

Why: When using typescript and downshift the typing for this function will cause a TS error.

How: Update the typings file

Checklist:

  • Documentation
  • Tests
  • Ready to be merged
  • Added myself to contributors table

Copy link
Collaborator

@franklixuefei franklixuefei 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 for fixing this!

@kentcdodds kentcdodds merged commit 33bd41f into downshift-js:master Jun 20, 2018
@kentcdodds
Copy link
Member

🎉 This PR is included in version 2.0.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Rendez pushed a commit to Rendez/downshift that referenced this pull request Sep 30, 2018
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.

3 participants