refactor(core): Change abstract get to readonly (#19226)

This commit is contained in:
tinayuangao
2017-09-29 00:36:13 +08:00
committed by Victor Berchet
parent 2d2300e118
commit 3aa3d5c548
13 changed files with 73 additions and 73 deletions

View File

@ -23,7 +23,7 @@ export abstract class AbstractControlDirective {
* that backs this directive. Most properties fall through to that
* instance.
*/
abstract get control(): AbstractControl|null;
readonly control: AbstractControl|null;
/** The value of the control. */
get value(): any { return this.control ? this.control.value : null; }