From 2b5c983c13c892d59f8e1bf223c291cbc3a40d8a Mon Sep 17 00:00:00 2001 From: Justin James Date: Tue, 25 Oct 2016 15:44:07 -0700 Subject: [PATCH] docs(reset): change semi-colon to colon in code example The first code example for the reset function was invalid as it has a semi-colon instead of a colon for the last property in the json object. Change the semi-colon to a colon. Closes https://github.com/angular/angular/issues/12531 --- modules/@angular/forms/src/model.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/@angular/forms/src/model.ts b/modules/@angular/forms/src/model.ts index 9b50c56442..1dd3cfa348 100644 --- a/modules/@angular/forms/src/model.ts +++ b/modules/@angular/forms/src/model.ts @@ -983,7 +983,7 @@ export class FormGroup extends AbstractControl { * ### Example * * ```ts - * this.form.reset({first: 'name', last; 'last name'}); + * this.form.reset({first: 'name', last: 'last name'}); * * console.log(this.form.value); // {first: 'name', last: 'last name'} * ```