cleanup(forms): minor cleanup

Closes #4778
This commit is contained in:
vsavkin 2015-10-28 17:00:14 -07:00 committed by Victor Savkin
parent 534db7fe2b
commit e1337dc325
2 changed files with 1 additions and 3 deletions

View File

@ -60,8 +60,7 @@ export function setProperty(renderer: Renderer, elementRef: ElementRef, propName
renderer.setElementProperty(elementRef, propName, propValue);
}
export function composeValidators(
validators: /* Array<Validator|Function> */ any[]): Function {
export function composeValidators(validators: /* Array<Validator|Function> */ any[]): Function {
return isPresent(validators) ? Validators.compose(validators.map(normalizeValidator)) :
Validators.nullValidator;
}

View File

@ -640,7 +640,6 @@ var NG_API = [
'NgControl.value',
'NgControl.valueAccessor',
'NgControl.valueAccessor=',
'NgControl.viewToModelUpdate()',
'NgControlGroup',
'NgControlGroup.control',
'NgControlGroup.dirty',