interact.js icon indicating copy to clipboard operation
interact.js copied to clipboard

Missing TypeScript types (e.g. `styleCursor` option)

Open DaniGuardiola opened this issue 2 years ago • 1 comments

Some TypeScript types appear to be missing. For example, the styleCursor option is missing here:

import interact from "@interactjs/interact";
import "@interactjs/auto-start";

interact('.some=element', { styleCursor: false });

I also found another missing type that I commented about elsewhere: https://github.com/taye/interact.js/issues/933#issuecomment-1783941040

Expected behavior

Types are correct.

Actual behavior

Types are incorrect, some are missing.

System configuration

interact.js version: 1.10.19 Browser name and version: electron v27+ (chromium) Operating System: Windows

DaniGuardiola avatar Oct 30 '23 19:10 DaniGuardiola

I've published a version that should resolve this issue.

taye avatar Nov 05 '23 13:11 taye