fix(ivy): change for-of to forEach for pipes represented with Map (#29068)
This commit fixes the problem with using for-of for pipes represented with Map (by replacing it with forEach operation). PR Close #29068
This commit is contained in:
parent
c0757d1d44
commit
dcafddefb8
|
@ -371,9 +371,7 @@ export class ComponentDecoratorHandler implements
|
|||
for (const dir of directives) {
|
||||
this._recordSyntheticImport(dir.expression, context);
|
||||
}
|
||||
for (const [name, pipe] of pipes) {
|
||||
this._recordSyntheticImport(pipe, context);
|
||||
}
|
||||
pipes.forEach((pipe: Expression) => this._recordSyntheticImport(pipe, context));
|
||||
|
||||
const binder = new R3TargetBinder(matcher);
|
||||
const bound = binder.bind({template: metadata.template.nodes});
|
||||
|
|
Loading…
Reference in New Issue