Add generic type to ModuleWithProviders
ProprietaryAdds the required generic type parameter to bare ModuleWithProviders return types. Angular 10 requires ModuleWithProviders<T> where T is the NgModule type. The module type is inferred from the ngModule property in the return statement.
org. openrewrite. angular. migration. add-module-with-providers-genericmod run . --recipe= org. openrewrite. angular. migration. add-module-with-providers-genericInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.