anseki / plain-draggable

The simple and high performance library to allow HTML/SVG element to be dragged.
https://anseki.github.io/plain-draggable/
MIT License
765 stars 96 forks source link

Typescript Typedef #43

Closed BloodWorkXGaming closed 4 years ago

BloodWorkXGaming commented 4 years ago

Hello,

I am trying to use plain-draggable in combination with typescript, however I can't rely on the typesafety as there are no type definitions.

Would it be possible to add a .d.ts file with the types? or create a official @types/plain-draggable package?

anseki commented 4 years ago

Hi @BloodWorkXGaming, thank you for the comment. You can write the type definition for PlainDraggable to @types and publish it on DefinitelyTyped.

anseki commented 4 years ago

No reply came, then this abandoned issue is closed.

tapmeppe commented 2 years ago

Hey there. So no still no .d.ts file(s)?

anseki commented 2 years ago

Hi @tapmeppe, thank you for the comment. You can write and publish it. https://github.com/DefinitelyTyped/DefinitelyTyped