element-tiptap icon indicating copy to clipboard operation
element-tiptap copied to clipboard

Add the typings for the project

Open tbhaxor opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. Due to the lack of typing, it is kinda headache for typescript developers image

Describe the solution you'd like Extend existing vue types and link it with the project.

tbhaxor avatar Nov 12 '20 12:11 tbhaxor

Agreed, I just tried to implement this in a vue-ts project and for the life of me I can't get it to work.

There are several issues:

The extension definitions are wrong, and don't take args despite the fact that they could: image

The actual plugin definition is broken. You've made it a type, so it can't be used as a value: image image

Moghul avatar Jul 26 '22 12:07 Moghul