fix(forms): getRawValue returns any instead of Object (#12599)

This commit is contained in:
Dzmitry Shylovich
2016-11-09 02:44:36 +03:00
committed by vikerman
parent 778e6ad3b4
commit 09092ac3c2
2 changed files with 2 additions and 2 deletions

View File

@ -1016,7 +1016,7 @@ export class FormGroup extends AbstractControl {
* If you'd like to include all values regardless of disabled status, use this method.
* Otherwise, the `value` property is the best way to get the value of the group.
*/
getRawValue(): Object {
getRawValue(): any {
return this._reduceChildren(
{}, (acc: {[k: string]: AbstractControl}, control: AbstractControl, name: string) => {
acc[name] = control.value;