refactor(ivy): harmonize container and element / elementContainer signatures (#25458)
PR Close #25458
This commit is contained in:

committed by
Ben Lesh

parent
14ac7ad6b4
commit
0c4209f4b9
@ -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');
|
||||
|
Reference in New Issue
Block a user