Open davestewart opened 4 years ago
Hey,
have just converted a project to Type Script and checking the types as outlined here:
https://github.com/kutlugsahin/vue-smooth-dnd/issues/44
I have I haven't looked at this in an IDE, but it looks like droppedElement has been removed:
droppedElement
https://github.com/kutlugsahin/smooth-dnd/blob/68853ecab812ac7a7d9ebf4288cf1ed520b3a2eb/src/container.ts#L170
Even though it is used in code:
https://github.com/kutlugsahin/smooth-dnd/blob/master/src/dropHandlers.ts#L10
Also, it seems that the exported type doesn't match up?
https://github.com/kutlugsahin/smooth-dnd/blob/master/src/exportTypes.ts#L21
TBH, I'm not sure I used droppedElement, but interested to find out what's happening.
Hey,
have just converted a project to Type Script and checking the types as outlined here:
https://github.com/kutlugsahin/vue-smooth-dnd/issues/44
I have I haven't looked at this in an IDE, but it looks like
droppedElement
has been removed:https://github.com/kutlugsahin/smooth-dnd/blob/68853ecab812ac7a7d9ebf4288cf1ed520b3a2eb/src/container.ts#L170
Even though it is used in code:
https://github.com/kutlugsahin/smooth-dnd/blob/master/src/dropHandlers.ts#L10
Also, it seems that the exported type doesn't match up?
https://github.com/kutlugsahin/smooth-dnd/blob/master/src/exportTypes.ts#L21
TBH, I'm not sure I used droppedElement, but interested to find out what's happening.