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

@ -36,7 +36,7 @@ export abstract class TemplateRef<C> {
*
*/
// TODO(i): rename to anchor or location
abstract get elementRef(): ElementRef;
readonly elementRef: ElementRef;
abstract createEmbeddedView(context: C): EmbeddedViewRef<C>;
}