chore(ts): fix TODOs that were pending on 1.6 upgrade

Closes #4377
This commit is contained in:
Alex Eagle
2015-09-25 14:48:17 -07:00
committed by Alex Eagle
parent 8ff65a30c7
commit b4fe590b2d
25 changed files with 165 additions and 190 deletions

View File

@ -2,10 +2,13 @@ import {ControlValueAccessor} from './control_value_accessor';
import {AbstractControlDirective} from './abstract_control_directive';
/**
* An abstract class that all control directive extend.
*
* A base class that all control directive extend.
* It binds a {@link Control} object to a DOM element.
*/
// Cannot currently be abstract because it would contain
// an abstract method in the public API, and we cannot reflect
// on that in Dart due to https://github.com/dart-lang/sdk/issues/18721
// Also we don't have abstract setters, see https://github.com/Microsoft/TypeScript/issues/4669
export class NgControl extends AbstractControlDirective {
name: string = null;
valueAccessor: ControlValueAccessor = null;