Open Dalecarlia opened 5 years ago
Hello, @Freece.
Thanks for the tip.
I'll add the .d.ts
file today still and I'll release a new version.
Do I need just this declare module 'jodit-vue'
in this file?
I am not exactly sure, I'm afraid.
As long as the typings file is present somehow it should work I believe. I am not sure how others add via @types/package-name
@Freece I'll read about it and try to check what I can do.
@Freece can you show me a codesandbox or github project that I can see the error you're getting so I can test some solutions here?
@WendellAdriel Sorry, I don't have that code anymore. But in essence it was that when I tried using this package in my code, I didn't have any typings for it so I had to resort to using the any type which defeats the purpose of typescript. I am sorry that I can't be of more help!
No problems @Freece I'll try to check this ou!!!
hi, is the typescript part of the jodit-vue ready (d.ts)? I also want to use this wrapper. I tryed the npm i @types/jodit-vue but i got some errors.
Thank you chriss
Hello, @HoehensteigerGames. It's not finished, I don't have much experience with Typescript and I've been busy with other projects. If you want to, you can help us out!
@WendellAdriel I hope you are doing well What's the status of this issue? this package is beneficial but I have a problem with vue typescript.
For all who uses vue with typescript it would be great if this included (or if there was a stand alone) typings file. Otherwise we get the error: ould not find a declaration file for module 'jodit-vue'. '/home/user/projects/project_namenode_modules/jodit-vue/dist/jodit-vue.umd.js' implicitly has an 'any' type. Try
npm install @types/jodit-vue
if it exists or add a new declaration (.d.ts) file contai ningdeclare module 'jodit-vue';
Thanks for an otherwise great package!