Skip to content

How do i get this to work with typescript? this is the message i'm getting "Property 'dangerouslyGetEngine' does not exist on type 'EmblaCarouselType'." #601

@mrvlab

Description

@mrvlab

Hello David, what a great projekt you have created! i love it.

I'm currently tying to implement the behavior you re-created in the sandbox bellow. But that code seems to only be compatible with js. When i try the code bellow i get this error message "Property 'dangerouslyGetEngine' does not exist on type 'EmblaCarouselType'." it there a way around this while still using typescript?

CodeSandbox?

Originally posted by @davidjerleke in #105 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions