[Bug] Compilation error with Angular 13
See original GitHub issueError: node_modules/@editorjs/editorjs/types/api/tooltip.d.ts:4:9 - error TS2614: Module '"codex-tooltip"' has no exported member 'TooltipContent'. Did you mean to use 'import TooltipContent from "codex-tooltip"' instead?
Error: node_modules/@editorjs/editorjs/types/api/tooltip.d.ts:4:25 - error TS2614: Module '"codex-tooltip"' has no exported member 'TooltipOptions'. Did you mean to use 'import TooltipOptions from "codex-tooltip"' instead?
Steps to reproduce:
import EditorJS from '@editorjs/editorjs';
this._editor = new EditorJS({holder: this.id});
Editor.js version: 2.22.2
Angular version: 13.0.2
Plugins you use with their versions: none
Issue Analytics
- State:
- Created 2 years ago
- Reactions:10
- Comments:14
Top Results From Across the Web
angular 13 ng build library fails (ivy partial compilation mode)
This was a bug in the Angular CLI that has been fixed. In your package.json , update @angular/cli to either 12.2.16 or 13.2.1...
Read more >Browser support - Angular
Angular is built on the latest standards of the web platform. Targeting such a wide range of browsers is challenging because they do...
Read more >Angular 13 in Depth - Sébastien Dubois
Angular code that uses this partial format is processed during the build of the application using the same version of the Angular compiler....
Read more >Read your production Angular Errors like a pro - Medium
We all want to build bug-free applications. We also know that it is not possible. Therefore the best we can do when we...
Read more >What's new in Angular 13 | InfoWorld
The wrappedValue class no longer can be supported from @angular/core, which could result in compile errors or failures at runtime if libraries ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
same issue here Angular 12 Editor 2.22.2
editing the node module file to this fixed it for me, not ideal: node_modules@editorjs\editorjs\types\api\tooltip.d.ts
specifying version of codex-tooltip: 1.0.2 in package.json solves the issue for me on Angular 13.1