Open cvasqu09 opened 3 years ago
Support for Angular 10 ModuleWithProviders is no longer accepting no type see here: https://angular.io/guide/migration-module-with-providers
x
- [ ] bug report -> please search issues before submitting - [x ] feature request
Windows
"dependencies": { "@angular/animations": "^10.2.3", "@angular/cdk": "^10.2.7", "@angular/common": "^10.2.3", "@angular/compiler": "^10.2.3", "@angular/core": "^10.2.3", "@angular/forms": "^10.2.3",
1) Add NgxLinkifyjs to Angular 10 project 2) Add NgxLinkifyjsModule.forRoot() to imports of app.module.ts 3) Run ng serve
ng serve
ERROR in node_modules/ngx-linkifyjs/module/ngx-linkifyjs.module.d.ts:12:50 - error TS2314: Generic type 'ModuleWithProviders<T>' requires 1 type argument(s). 12 static forRoot(config?: NgxLinkifyjsConfig): ModuleWithProviders; ~~~~~~~~~~~~~~~~~~~
Provide typing for ModuleWithProviders to remove build issues on Angular 10
Support for Angular 10 ModuleWithProviders is no longer accepting no type see here: https://angular.io/guide/migration-module-with-providers
Bug Report or Feature Request (mark with an
x
)OS and Version?
Windows
Versions
Repro steps
1) Add NgxLinkifyjs to Angular 10 project 2) Add NgxLinkifyjsModule.forRoot() to imports of app.module.ts 3) Run
ng serve
The log given by the failure
Desired functionality
Provide typing for ModuleWithProviders to remove build issues on Angular 10