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(types): fix wrong typing in getWidgetState #3693

Merged
merged 1 commit into from Apr 15, 2019

Conversation

eunjae-lee
Copy link
Contributor

Summary

This fixes the wrong typing of getWidgetState.

Result

state -> searchParameters in widgetStateOptions.
(https://www.algolia.com/doc/guides/building-search-ui/widgets/create-your-own-widgets/js/?language=javascript#the-widget-lifecycle-and-api)

@eunjae-lee eunjae-lee requested review from samouss and francoischalifour and removed request for samouss April 15, 2019 12:58
@algobot
Copy link
Contributor

algobot commented Apr 15, 2019

Deploy preview for instantsearchjs ready!

Built with commit 6095c81

https://deploy-preview-3693--instantsearchjs.netlify.com

@eunjae-lee eunjae-lee merged commit b3c2154 into develop Apr 15, 2019
@eunjae-lee eunjae-lee deleted the fix/types-get-widget-state branch April 15, 2019 13:06
tkrugg added a commit that referenced this pull request Apr 17, 2019
# [3.4.0](v3.3.0...v3.4.0) (2019-04-17)

### Bug Fixes

* **storybook:** fix Hierarchical menu separator in Breadcrumb story ([#3695](#3695)) ([b3bf8ac](b3bf8ac))
* **tools:** use commonjs in bump-package-version.js ([#3699](#3699)) ([6a6dbe1](6a6dbe1))
* **types:** fix wrong typing in getWidgetState ([#3693](#3693)) ([b3c2154](b3c2154))
* **types:** remove unused Without type ([#3694](#3694)) ([656d000](656d000))

### Features

* **infiniteHits:** add previous button ([#3675](#3675)) ([2e6137b](2e6137b))
* **Insights:** Insights inside Instantsearch ([#3598](#3598)) ([387f41f](387f41f))
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.

None yet

3 participants