notifier and tooltip, fix closes #2591, #2390, #2462#2842
notifier and tooltip, fix closes #2591, #2390, #2462#2842neSpecc merged 3 commits intocodex-team:nextfrom
Conversation
|
@neSpecc Do I also have to modify the version number in pacakge.json? |
Done |
|
@Sozialarchiv how are you reproducing such errors? I don't see it in my builds |
I couldn't reproduce the problem at first either. However, since it was mentioned in various issues, I looked into it a little. You need a typescript project in which @editorjs/editorjs is a dependency. In addition, “skipLibCheck” in tsconfig.json must be true. Normally I have not activated this either, as it has no added value and costs performance. It is also false by default. However, there seem to be some users who have set the value to true. |
|
I have |
|
Hey, @Sozialarchiv. Have you managed to reproduce these errors? Maybe you can provide a demo? |
https://github.com/Sozialarchiv/editorjs-notifier-tooltip-error-demo |
|
Thanks, @Sozialarchiv. Demo works fine with |
This fix moves the packages codex-notifier and codex-tooltip from devDependencies to dependencies.
Both packages are not only used as type imports:
editor.js/src/components/utils/notifier.ts
Line 7 in eb7ffcb
editor.js/src/components/utils/tooltip.ts
Line 5 in eb7ffcb
The patch fixes the following types errors: