docs(forms): correct parameter names in jsdoc (#32530)

PR Close #32530
This commit is contained in:
lazarljubenovic 2019-09-07 15:50:51 +02:00 committed by Matias Niemelä
parent 8296f6b681
commit 18798a1cb2
2 changed files with 2 additions and 6 deletions

View File

@ -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); }

View File

@ -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