angular-froala-wysiwyg icon indicating copy to clipboard operation
angular-froala-wysiwyg copied to clipboard

Type 'ModuleWithProviders' is not generic.

Open lmsilvera opened this issue 4 years ago • 3 comments

Error message: ERROR in node_modules/angular-froala-wysiwyg/editor/editor.module.d.ts(3,23): error TS2315: Type 'ModuleWithProviders' is not generic. node_modules/angular-froala-wysiwyg/view/view.module.d.ts(3,23): error TS2315: Type 'ModuleWithProviders' is not generic.

Context: angular-froala-wysiwyg version was 3.2.0 then, when upgraded to 3.2.1 bang!! Error above. "@angular/core": "^5.2.11", "@angular/common": "^5.2.11" "angular-froala-wysiwyg": "^3.2.1"

lmsilvera avatar Aug 13 '20 04:08 lmsilvera

There is a breaking change. Update angular in your project or use an older version of angular-froala-wysiwyg.

qdelettre avatar Aug 13 '20 08:08 qdelettre

Ok, will take into account.

lmsilvera avatar Aug 14 '20 04:08 lmsilvera

Which version of angular is compatible with froala v3 or v4?

I'm getting this error in angular 7 "error TS1086: An accessor cannot be declared in an ambient context." for example

damarisq-2576 avatar Nov 24 '21 16:11 damarisq-2576