docs(migrations): Fix indentation in documentation for signal inputs migration (#60204)

PR Close #60204
This commit is contained in:
Mithilesh Zavar 2025-03-04 21:28:05 +00:00 committed by Miles Malerba
parent 507ed58152
commit fbbe5d55b1

View file

@ -49,18 +49,18 @@ export class MyComponent {
import {Component, input} from '@angular/core';
@Component({
template: `Name: {{name() ?? ''}}`
template: `Name: {{name() ?? ''}}`
})
export class MyComponent {
readonly name = input<string>();
readonly name = input<string>();
someMethod(): number {
const name = this.name();
if (name) {
return name.length;
}
return -1;
}
someMethod(): number {
const name = this.name();
if (name) {
return name.length;
}
return -1;
}
}
</docs-code>