hl037 / vue-contenteditable

This plugin provides a `<contenteditable/>` element supporting `v-model`. It also provides some (optional) features, like preventing html input / paste or new lines.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

are there any types for TypeScript support?

JakubKoralewski opened this issue · comments

Could not find a declaration file for module 'vue-contenteditable'. '<jakub_koralewski_node_modules_path>/contenteditable.umd.js' implicitly has an 'any' type.
  Try `npm install @types/vue-contenteditable` if it exists or add a new declaration (.d.ts) file containing `declare module 'vue-contenteditable';`ts(7016)

No, there are no support for TypeScript right now, since I don't know yet this language.
However, if you know how to do it, feel free to make a pull request, or to give mi some starting point to at least make it compatible with ts :)

Since Vue is now developped in typescript, and it seems to be the feature, the next upgrade will be coded with typescript. it should come during this week

However, if you know how to do it, feel free to make a pull request, or to give mi some starting point to at least make it compatible with ts :)

I'm sorry, I missed this reply 😢 Glad to hear it's going to happen though! 🎉