fix(forms): Form provider FormsModule.withConfig return a FormsModule (#48526)

Because of a transitive dependency, FormsModule.withConfig wasn't providing FormModule.

fixes: #48519

PR Close #48526
This commit is contained in:
Matthieu Riegler
2022-12-17 16:11:03 +01:00
committed by Alex Rickabaugh
parent b9577adeb2
commit bdf288dcbf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ export class FormsModule {
*/
static withConfig(opts: {
callSetDisabledState?: SetDisabledStateOption,
}): ModuleWithProviders<ReactiveFormsModule> {
}): ModuleWithProviders<FormsModule> {
return {
ngModule: FormsModule,
providers: [{