mode_edit codeAPI / @angular/formsReactiveFormsModulelinkclass 稳定The ng module for reactive forms.响应式表单的 NgModule。class ReactiveFormsModule { static withConfig(opts: {...}): ModuleWithProviders<ReactiveFormsModule> }静态方法linkwithConfig() linkmode_edit codestatic withConfig(opts: { warnOnNgModelWithFormControl: 'never' | 'once' | 'always'; }): ModuleWithProviders<ReactiveFormsModule>参数optsType: { warnOnNgModelWithFormControl: 'never' | 'once' | 'always'; }.返回值ModuleWithProviders<ReactiveFormsModule>注解link@NgModule({ declarations: [REACTIVE_DRIVEN_DIRECTIVES], providers: [FormBuilder, RadioControlRegistry], exports: [InternalFormsSharedModule, REACTIVE_DRIVEN_DIRECTIVES] })