Skip to content

Conversation

@mlocati
Copy link

@mlocati mlocati commented Feb 25, 2025

What about adding the definitions for TypeScript?

That way, for example, we could have type checking and intellisense suggestions with something like this:

import ImageCompare from 'image-compare-viewer';

new ImageCompare(el, {
    // options
}).mount();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant