We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://codesandbox.io/s/sparkling-violet-iz32o?file=/src/App.tsx
In #5413 were added Typescript types for useSwiper but they are broken
useSwiper
2cbf82c
Actual value that's in context looks like this:
18bb89b#diff-dd4f3389b95eb9f01032cf016a5a172c4351afd70c27da05429b19721371445fR197-R203
So useSwiper's type instead just:
() => SwiperClass
should be something like that:
() => { value: SwiperClass, nextEl: ..., ... }
No response
8.0.4
macOS 11.4, Chrome 97
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Check that this is really a bug
Reproduction link
https://codesandbox.io/s/sparkling-violet-iz32o?file=/src/App.tsx
Bug description
In #5413 were added Typescript types for
useSwiper
but they are broken2cbf82c
Actual value that's in context looks like this:
18bb89b#diff-dd4f3389b95eb9f01032cf016a5a172c4351afd70c27da05429b19721371445fR197-R203
So
useSwiper
's type instead just:should be something like that:
Expected Behavior
No response
Actual Behavior
No response
Swiper version
8.0.4
Platform/Target and Browser Versions
macOS 11.4, Chrome 97
Validations
Would you like to open a PR for this bug?
The text was updated successfully, but these errors were encountered: