refactor(ivy): flatten LInjector into LViewData (#26220)

PR Close #26220
This commit is contained in:
Kara Erickson
2018-10-02 21:12:26 -07:00
committed by Alex Rickabaugh
parent cb59d87489
commit 730679964f
13 changed files with 457 additions and 353 deletions

View File

@ -550,11 +550,15 @@ export type HookData = (number | (() => void))[];
* Static data that corresponds to the instance-specific data array on an LView.
*
* Each node's static data is stored in tData at the same index that it's stored
* in the data array. Each pipe's definition is stored here at the same index
* as its pipe instance in the data array. Any nodes that do not have static
* data store a null value in tData to avoid a sparse array.
* in the data array. Any nodes that do not have static data store a null value in
* tData to avoid a sparse array.
*
* Each pipe's definition is stored here at the same index as its pipe instance in
* the data array.
*
* Injector bloom filters are also stored here.
*/
export type TData = (TNode | PipeDefInternal<any>| null)[];
export type TData = (TNode | PipeDefInternal<any>| number | null)[];
/** Type for TView.currentMatches */
export type CurrentMatchesList = [DirectiveDefInternal<any>, (string | number | null)];