From 18798a1cb274b69c6494e690ae8f7053df28dc82 Mon Sep 17 00:00:00 2001 From: lazarljubenovic Date: Sat, 7 Sep 2019 15:50:51 +0200 Subject: [PATCH] docs(forms): correct parameter names in jsdoc (#32530) PR Close #32530 --- packages/forms/src/directives/radio_control_value_accessor.ts | 4 ---- packages/forms/src/model.ts | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/forms/src/directives/radio_control_value_accessor.ts b/packages/forms/src/directives/radio_control_value_accessor.ts index b397bdd204..bca1040d21 100644 --- a/packages/forms/src/directives/radio_control_value_accessor.ts +++ b/packages/forms/src/directives/radio_control_value_accessor.ts @@ -145,8 +145,6 @@ export class RadioControlValueAccessor implements ControlValueAccessor, /** * @description * A lifecycle method called when the directive is initialized. For internal use only. - * - * @param changes A object of key/value pairs for the set of changed inputs. */ ngOnInit(): void { this._control = this._injector.get(NgControl); @@ -157,8 +155,6 @@ export class RadioControlValueAccessor implements ControlValueAccessor, /** * @description * Lifecycle method called before the directive's instance is destroyed. For internal use only. - * - * @param changes A object of key/value pairs for the set of changed inputs. */ ngOnDestroy(): void { this._registry.remove(this); } diff --git a/packages/forms/src/model.ts b/packages/forms/src/model.ts index 04d7e6a25e..ec6dcc437b 100644 --- a/packages/forms/src/model.ts +++ b/packages/forms/src/model.ts @@ -1338,7 +1338,7 @@ export class FormGroup extends AbstractControl { * Reports false for disabled controls. If you'd like to check for existence in the group * only, use {@link AbstractControl#get get} instead. * - * @param name The control name to check for existence in the collection + * @param controlName The control name to check for existence in the collection * * @returns false for disabled controls, true otherwise. */ @@ -1443,7 +1443,7 @@ export class FormGroup extends AbstractControl { * is a standalone value or a form state object with both a value and a disabled * status. * - * @param formState Resets the control with an initial value, + * @param value Resets the control with an initial value, * or an object that defines the initial value and disabled state. * * @param options Configuration options that determine how the control propagates changes