fix(ivy): component ref injector should support change detector ref (#27107)

PR Close #27107
This commit is contained in:
Kara Erickson
2018-11-14 19:25:03 -08:00
committed by Misko Hevery
parent 3ec7c5081d
commit ee12e725c0
8 changed files with 100 additions and 23 deletions

View File

@ -69,7 +69,7 @@ export interface LViewData extends Array<any> {
* node tree in DI and get the TView.data array associated with a node (where the
* directive defs are stored).
*/
[TVIEW]: TView;
readonly[TVIEW]: TView;
/** Flags for this view. See LViewFlags for more info. */
[FLAGS]: LViewFlags;
@ -147,7 +147,7 @@ export interface LViewData extends Array<any> {
[CONTEXT]: {}|RootContext|null;
/** An optional Module Injector to be used as fall back after Element Injectors are consulted. */
[INJECTOR]: Injector|null;
readonly[INJECTOR]: Injector|null;
/** Renderer to be used for this view. */
[RENDERER]: Renderer3;