| 57 | class App {} |
| 58 | |
| 59 | @Component({ |
| 60 | selector: 'door', |
| 61 | template: `{{ frame.name }}(<span *ngFor="let lock of locks">{{ lock.name }}</span |
| 62 | >)`, |
| 63 | standalone: false, |
| 64 | }) |
| 65 | class Door { |
| 66 | @ContentChildren(forwardRef(() => Lock)) locks!: QueryList<Lock>; |
| 67 | frame: Frame; |
| 68 | |
| 69 | constructor(@Inject(forwardRef(() => Frame)) frame: Frame) { |
| 70 | this.frame = frame; |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | @Directive({ |
| 75 | selector: 'lock', |
nothing calls this directly
no test coverage detected