You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: node_modules/@types/ckeditor__ckeditor5-ui/src/editableui/editableuiview.d.ts:7:9 - error TS2379: Getter and setter accessors do not agree in visibility.
7 get _hasExternalElement(): boolean;
~~~~~~~~~~~~~~~~~~~
Error: node_modules/@types/ckeditor__ckeditor5-ui/src/editableui/editableuiview.d.ts:8:19 - error TS2379: Getter and setter accessors do not agree in visibility.
8 protected set _hasExternalElement(newValue: boolean);
~~~~~~~~~~~~~~~~~~~
editableuiview.d.ts:
import { Locale } from "@ckeditor/ckeditor5-utils";
import View from "../view";
export default class EditableUIView extends View {
isFocused: boolean;
name: string;
get _hasExternalElement(): boolean;
protected set _hasExternalElement(newValue: boolean);
constructor(locale: Locale, editingView: View, editableElement?: HTMLElement);
}
Now what I could do is remove the portected from the setter but this change will not be permanent since it is a generated file in node_modules.
How could I fix this error permanently?
Thank you in advance!
The text was updated successfully, but these errors were encountered:
Types provided by the @types/ckeditor__ckeditor5-ui package are not maintained by us. It might happen that they aren't up-to-date with CKEditor 5 API.
We're working on migrating the CKEditor 5 sources to TypeScript (see: ckeditor/ckeditor5#11704). Unfortunately, it is quite complex and requires a lot of time.
I'd consider disabling the type checking (if possible) for CKEditor 5 as types produced by the community may be incompatible with CKEditor 5 API.
Hello all,
I tried to install ckeditor5-angular and ckeditor5-build-classic according to
https://ckeditor.com/docs/ckeditor5/latest/installation/getting-started/frameworks/angular.html .
When Building, I got the error message:
editableuiview.d.ts:
Now what I could do is remove the portected from the setter but this change will not be permanent since it is a generated file in node_modules.
How could I fix this error permanently?
Thank you in advance!
The text was updated successfully, but these errors were encountered: