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({
|
@Component({
|
||||||
selector: 'app-typical',
|
selector: 'app-typical',
|
||||||
template: '<div>A typical component for {{data.name}}</div>'
|
template: '<div>A typical component for {{data.name}}</div>'
|
||||||
)}
|
})
|
||||||
export class TypicalComponent {
|
export class TypicalComponent {
|
||||||
@Input() data: TypicalData;
|
@Input() data: TypicalData;
|
||||||
constructor(private someService: SomeService) { ... }
|
constructor(private someService: SomeService) { ... }
|
||||||
|
|
Loading…
Reference in New Issue