-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Got this error after updating to Angular 11:
`ERROR: node_modules/ng-intercom/src/app/ng-intercom/intercom.module.d.ts:4:45 - error TS2314: Generic type 'ModuleWithProviders' requires 1 type argument(s).
4 static forRoot(config: IntercomConfig): ModuleWithProviders;`
Versions
- Angular: 11.2.7
- Angular CLI: 11.2.7
- ng-intercom: 8.0.0
- Node.JS: 12.20.0
- NPM: 6.14.8
Description
- I'm including the ng-intercom module in a component-lib, not directly in the app.
- The error is showing when just including the module in the import:
import { Intercom } from 'ng-intercom'; - If I remove the import line, the lib is built properly.
Metadata
Metadata
Assignees
Labels
No labels