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

Declare enabled option in mousewheel.d.ts #7317

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

lifecoderua
Copy link
Contributor

Declare enabled option for the Mousewheel options, to prevent the type check errors.

Currently TS build raise a (non-blocking) error on build:
error TS2353: Object literal may only specify known properties, and 'enabled' does not exist in type 'MousewheelOptions', using the following declaration:

<swiper
    :mousewheel="{
      enabled: true
    }"
  >
  ...

@nolimits4web nolimits4web merged commit 237e7c4 into nolimits4web:master Feb 27, 2024
@nolimits4web
Copy link
Owner

Merged, thanks!

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.

2 participants