Skip to content

Conversation

Lehoczky
Copy link

@Lehoczky Lehoczky commented Oct 8, 2025

Hi there 👋

Currently, because there are no d.ts files distributed with the npm package, TypeScript users get an error when using this library:

image

This PR aims to fix this issue by using tsup to generate the build artifacts and the new declaration file. Tsup uses esbuild under the hood, so the build artifacts are exactly the same, and the build process is fast as before.

One more benefit of this is that users of the npm package now get proper autocomplete support for the enableDragDropTouch() function:

image

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