diff --git a/packages/forms/src/directives/reactive_directives/form_group_name.ts b/packages/forms/src/directives/reactive_directives/form_group_name.ts index 01adcaf9980..b713a73fc64 100644 --- a/packages/forms/src/directives/reactive_directives/form_group_name.ts +++ b/packages/forms/src/directives/reactive_directives/form_group_name.ts @@ -44,7 +44,7 @@ export const formGroupNameProvider: any = { * * ### Access the group by name * - * The following example uses the {@link AbstractControl#get get} method to access the + * The following example uses the `AbstractControl.get` method to access the * associated `FormGroup` * * ```ts @@ -53,7 +53,7 @@ export const formGroupNameProvider: any = { * * ### Access individual controls in the group * - * The following example uses the {@link AbstractControl#get get} method to access + * The following example uses the `AbstractControl.get` method to access * individual controls within the group using dot syntax. * * ```ts diff --git a/packages/forms/test/form_array_spec.ts b/packages/forms/test/form_array_spec.ts index 16967970d3a..caa6a818ab6 100644 --- a/packages/forms/test/form_array_spec.ts +++ b/packages/forms/test/form_array_spec.ts @@ -180,7 +180,7 @@ describe('FormArray', () => { it('should work with nested form groups/arrays', () => { a = new FormArray([ new FormGroup( - {'c2': new FormControl('v2') as AbstractControl, 'c3': new FormControl('v3') as any}), + {'c2': new FormControl('v2') as AbstractControl, 'c3': new FormControl('v3')}) as any, new FormArray([new FormControl('v4'), new FormControl('v5')]) ]); a.at(0).get('c3')!.disable(); diff --git a/packages/forms/test/form_control_spec.ts b/packages/forms/test/form_control_spec.ts index 8b684a35a2e..df8e4b0e373 100644 --- a/packages/forms/test/form_control_spec.ts +++ b/packages/forms/test/form_control_spec.ts @@ -7,8 +7,7 @@ */ import {fakeAsync, tick} from '@angular/core/testing'; -import {FormControl, FormGroup, Validators} from '@angular/forms'; -import {FormArray} from '@angular/forms/src/model'; +import {FormArray, FormControl, FormGroup, Validators} from '@angular/forms'; import {asyncValidator, asyncValidatorReturningObservable} from './util';