Type 'typeof ClassicEditor' is not assignable to type '{ create(sourceElementOrData: string | HTMLElement, config?: EditorConfig | undefined): Promise<Editor>; }'. #396
I've followed the Angular documentation at https://ckeditor.com/ckeditor-5/angular/ but keep getting an error Type 'typeof ClassicEditor' is not assignable to type '{ create(sourceElementOrData: string | HTMLElement, config?: EditorConfig | undefined): Promise<Editor>; }'.
I've tried downgrading versions of ckeditor and ckeditor-angular to the ones shown in the example Stackblitz in the documentation but then I get a different typing error which I cannot resolve.
I'm trying to get a minimal version of the classic build running in Angular v16 with CKEditor v40 and ckeditor-angular v7. My StackBlitz is https://stackblitz.com/edit/stackblitz-starters-ymdlvz .
I've followed the Angular documentation at https://ckeditor.com/ckeditor-5/angular/ but keep getting an error
Type 'typeof ClassicEditor' is not assignable to type '{ create(sourceElementOrData: string | HTMLElement, config?: EditorConfig | undefined): Promise<Editor>; }'.
I've also double-checked https://ckeditor.com/docs/ckeditor5/latest/installation/integrations/angular.html and the documentation there seems to say the same thing.
Am I missing something?