class FormGroup<TControl extends {[K in keyof TControl]: AbstractControl<any>}> extends AbstractControl< override getError(errorCode: string, path?: string | (string | number)[]): any; override hasError(errorCode: string, path?: string | (string | number)[]): boolean; override readonly root: AbstractControl<any, any>;}