Files
Kristiyan Kostadinov 9e76468905 fix(migrations): handle nested classes in block entities migration (#52309)
Fixes that the block entities migration was only processing top-level classes. Nested classes could come up during unit tests.

PR Close #52309
2023-10-24 14:34:16 -07:00
..

Block syntax template entities migration

Angular v17 introduces a new control flow syntax that uses the @ and } characters. This migration replaces the existing usages with their corresponding HTML entities. Usages within HTML starting tags, interpolations and ICU expressions are preserved.

Before

import {Component} from '@angular/core';

@Component({
  template: `My email is hello@hi.com. This is a brace -> }`
})
export class MyComp {}

After

import {Component} from '@angular/core';

@Component({
  template: `My email is hello@hi.com. This is a brace -> }`
})
export class MyComp {}