Skip to content

Type error within Intersection extension #927

@peckomingo

Description

@peckomingo

Checks

Version

v4.0.17

Description

Every time is use the Intersection extension, I get the following error in the terminal.

Property 'Intersection' of type 'IntersectionComponent | undefined' is not assignable to 'string' index type 'BaseComponent'.

image

Splide Version: 4.0.17
Intersection Extension Version: 0.2.0

Reproduction Link

No response

Steps to Reproduce

  1. Import Intersection extension
  2. use as stated in docs (e.g. via new Splide( '#splide' ).mount( { Intersection } ); )
  3. start the project
  4. check terminal for the error

Expected Behaviour

The type error is not shown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions