ModuleWithProviders type without a generic type argument - Angular ~9.0.0-rc.6
See original GitHub issueEverything is working as expected so it seems but i get this “Error”
ERROR in node_modules/ngx-toastr/toastr/toastr.module.d.ts:5:53 - error TS-996005: ToastrModule.forRoot returns a ModuleWithProviders type without a generic type argument. Please add a generic type argument to the ModuleWithProviders type. If this occurrence is in library code you don't control, please contact the library authors.
"ngx-toastr": "^11.2.1"
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Angular error - Generic type 'ModuleWithProviders<T ...
I got to know that ngx-bootstrap is not compatible with angular 10 right now, 6.0.0 version of ngx-bootstrap will be compatible with angular...
Read more >ModuleWithProviders type without a generic type argument
ModuleWithProviders type without a generic type argument - Angular ~9.0.0-rc.6.
Read more >ModuleWithProviders Migration - Angular
Angular version 9 deprecates use of ModuleWithProviders without an explicitly generic type, where the generic type refers to the type of the NgModule...
Read more >How To Update Angular CLI To Latest Version
And Angular CLI 6 no longer uses intl in polyfills.ts . ... As of Angular 10, the ModuleWithProviders type requires a generic.
Read more >Guide Leading Up to Angular 9.0.0 Release - HUSPI
The Angular 9.0.0-rc.10 version came out with a few bug fixes. ... Ivy now supports simple generic type constraints in local type ctors....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
my bad your code is fine. It’s a transient dependency of an older version of toastr that cause the building error.
this is working for me