You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's pretty much what is also shown in the readme file, but I get the Typescript error TS2339: Property 'then' does not exist on type 'true'.
Looking at the type declarations for the drag function, I think it either has to return Chainable or a Promise instead of a boolean in order to allow for chaining, or am I missing something?
The text was updated successfully, but these errors were encountered:
I'm trying to chain the
then
method after callingdrag
like this:That's pretty much what is also shown in the readme file, but I get the Typescript error
TS2339: Property 'then' does not exist on type 'true'.
Looking at the type declarations for the
drag
function, I think it either has to returnChainable
or aPromise
instead of aboolean
in order to allow for chaining, or am I missing something?The text was updated successfully, but these errors were encountered: