Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find a declaration file for module '@ckeditor/ckeditor5-vue' #85

Closed
erickAvSanti opened this issue Jul 31, 2019 · 2 comments
Closed
Labels
resolution:resolved This issue was already resolved (e.g. by another ticket). type:question

Comments

@erickAvSanti
Copy link

94:22 Could not find a declaration file for module '@ckeditor/ckeditor5-vue'. '/home/erick/git-projects/saps-vue/node_modules/@ckeditor/ckeditor5-vue/dist/ckeditor.js' implicitly has an 'any' type.
Try npm install @types/ckeditor__ckeditor5-vue if it exists or add a new declaration (.d.ts) file containing declare module '@ckeditor/ckeditor5-vue';
92 |
93 |

94 | import CKEditor from '@ckeditor/ckeditor5-vue';
| ^
95 | Vue.use( CKEditor );
96 |
97 | new Vue({
Version: typescript 3.5.2

@ma2ciek
Copy link
Contributor

ma2ciek commented Jul 31, 2019

Hi, @erickAvSanti

The typings for this libs don't exist. if you use the strict mode in TypeScript you can follow the above instructions and create a declaration file for libs which miss typings.

The umbrella ticket: ckeditor/ckeditor5#504.

@juanaguillon
Copy link

I've used shims-vue.d.ts (Vue3) declaration file (.d.ts) and put:
declare module '@ckeditor/ckeditor5-vue';

@Reinmar Reinmar added resolution:resolved This issue was already resolved (e.g. by another ticket). and removed resolution:solved labels Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution:resolved This issue was already resolved (e.g. by another ticket). type:question
Projects
None yet
Development

No branches or pull requests

4 participants