Wrong embla-carousel-svelte
init event types
#464
Labels
bug
Something isn't working
resolved
This issue is resolved
svelte
Issue is related to Svelte
typescript
Issue is related to TypeScript
Bug is related to
Embla Carousel version
Describe the bug
on:init
event with TypeScript, the following error shows:The problem can be solved by adding the following to a
d.ts
file:...which is very hacky and not desired.
Expected behavior
ActionReturn<Parameter, Attributes>
so the tooling picks up the correct types.The text was updated successfully, but these errors were encountered: