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

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