
This commit updates the docs examples to be compatible with the `import-spacing` tslint rule. This is in preparation of updating the docs examples `tslint.json` to match the one generated for new Angular CLI apps in a future commit. PR Close #38143
20 lines
319 B
TypeScript
20 lines
319 B
TypeScript
// #docregion
|
|
import { Component, Input } from '@angular/core';
|
|
|
|
import { AdComponent } from './ad.component';
|
|
|
|
@Component({
|
|
template: `
|
|
<div class="job-ad">
|
|
<h4>{{data.headline}}</h4>
|
|
|
|
{{data.body}}
|
|
</div>
|
|
`
|
|
})
|
|
export class HeroJobAdComponent implements AdComponent {
|
|
@Input() data: any;
|
|
|
|
}
|
|
|