docs: Fix component decorator closing brackets (#38754)
PR Close #38754
This commit is contained in:
parent
ded075a79c
commit
19a484302d
|
@ -62,7 +62,7 @@ In the following example, the `@Component()` metadata object and the class const
|
|||
@Component({
|
||||
selector: 'app-typical',
|
||||
template: '<div>A typical component for {{data.name}}</div>'
|
||||
)}
|
||||
})
|
||||
export class TypicalComponent {
|
||||
@Input() data: TypicalData;
|
||||
constructor(private someService: SomeService) { ... }
|
||||
|
|
Loading…
Reference in New Issue