From 403bb6bee341ac12c9bfbd9f910432c2d385886f Mon Sep 17 00:00:00 2001 From: Colum Ferry Date: Sat, 12 Oct 2019 23:42:51 +0100 Subject: [PATCH] docs(forms): fix grammar and add clarification to setValue docs (#33126) Changed `setValue` documentation for throwing an error as it contained a grammar mistake and also may have caused ambiguity around when exactly the method would throw. PR Close #33126 --- packages/forms/src/model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/forms/src/model.ts b/packages/forms/src/model.ts index 311c27b8f3..29da95f6ce 100644 --- a/packages/forms/src/model.ts +++ b/packages/forms/src/model.ts @@ -1366,7 +1366,7 @@ export class FormGroup extends AbstractControl { * ``` * * @throws When strict checks fail, such as setting the value of a control - * that doesn't exist or if you excluding the value of a control. + * that doesn't exist or if you exclude a value of a control that does exist. * * @param value The new value for the control that matches the structure of the group. * @param options Configuration options that determine how the control propagates changes