swiper icon indicating copy to clipboard operation
swiper copied to clipboard

Declare enabled option in mousewheel.d.ts

Open lifecoderua opened this issue 1 year ago • 0 comments

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
    }"
  >
  ...

lifecoderua avatar Feb 14 '24 19:02 lifecoderua