Closed Nokhoneryu closed 3 years ago
This signature already exists on old version of angular ?
In the previous version, is optional, so it's backwards compatible.
Also, i noticed there are 2 peer dependencies to old versions:
"@angular/core": ">=4.0.0 <6.0.0", "@angular/forms": ">=4.0.0 <6.0.0"
I tried with the angular version 11.1.1 and all worked just fine, so we might as well bump this peer dependencies, what do you think @Crazyht ?
Yes, we probably can change this old deps :P
Alright, just updated the package.json to match the latest version of angular :)
From Angular 10 onward, to set a type to the ModuleWithProviders is now mandatory. With this simple alteration, the library becomes Angular 10+ compatible.