(lView: LView, queryIndex: number)
| 463 | } |
| 464 | |
| 465 | export function loadQueryInternal<T>(lView: LView, queryIndex: number): QueryList<T> { |
| 466 | ngDevMode && |
| 467 | assertDefined(lView[QUERIES], 'LQueries should be defined when trying to load a query'); |
| 468 | ngDevMode && assertIndexInRange(lView[QUERIES]!.queries, queryIndex); |
| 469 | return lView[QUERIES]!.queries[queryIndex].queryList; |
| 470 | } |
| 471 | |
| 472 | /** |
| 473 | * Creates a new instance of LQuery and returns its index in the collection of LQuery objects. |
no test coverage detected