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)
- [ ] bug report -> please search issues before submitting
- [x ] feature request
OS and Version?
Windows
Versions
"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",
Repro steps
- Add NgxLinkifyjs to Angular 10 project
- Add NgxLinkifyjsModule.forRoot() to imports of app.module.ts
- Run
ng serve
The log given by the failure
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;
~~~~~~~~~~~~~~~~~~~
Desired functionality
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
ng serveThe log given by the failure
Desired functionality
Provide typing for ModuleWithProviders to remove build issues on Angular 10