refactor(ivy): harmonize container and element / elementContainer signatures (#25458)

PR Close #25458
This commit is contained in:
Pawel Kozlowski
2018-08-13 14:50:28 +02:00
committed by Ben Lesh
parent 14ac7ad6b4
commit 0c4209f4b9
4 changed files with 16 additions and 16 deletions

View File

@ -1838,8 +1838,8 @@ export function createLContainer(
* @param localRefs A set of local reference bindings on the element.
*/
export function container(
index: number, template?: ComponentTemplate<any>, tagName?: string | null, attrs?: TAttributes,
localRefs?: string[] | null): void {
index: number, template?: ComponentTemplate<any>| null, tagName?: string | null,
attrs?: TAttributes | null, localRefs?: string[] | null): void {
ngDevMode &&
assertEqual(
viewData[BINDING_INDEX], -1, 'container nodes should be created before any bindings');