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
v0.4.2
According to the documentation, I have added the AutoScroll extension.
import { Splide } from '@splidejs/splide'; import { AutoScroll } from '@splidejs/splide-extension-auto-scroll'; new Splide( '.splide' ).mount( { AutoScroll } );
After importing AutoScroll the build fails:
Property 'AutoScroll' of type 'AutoScrollComponent | undefined' is not assignable to 'string' index type 'BaseComponent'.
Is that happening only for me?
No response
No build error.
The text was updated successfully, but these errors were encountered:
Changing the interface inside AutoScroll.ts to:
interface Components { AutoScroll: AutoScrollComponent; }
worked for me. (removed that AutoScroll is optional) Not sure if that's a suitable solution here.
Sorry, something went wrong.
I've checked it but haven't seen any error: https://codesandbox.io/s/5-jmwgm7?file=/src/index.ts
No branches or pull requests
Checks
Version
v0.4.2
Description
According to the documentation, I have added the AutoScroll extension.
After importing AutoScroll the build fails:
Is that happening only for me?
Reproduction Link
No response
Steps to Reproduce
Expected Behaviour
No build error.
The text was updated successfully, but these errors were encountered: