322951af49
Our approach for handling cyclic imports results in code that is not easy to tree-shake, so it is not suitable for publishing in a library. When compiling in partial compilation mode, we are targeting such library publication, so we now create a fatal diagnostic error instead of trying to handle the cyclic import situation. Closes #40678 PR Close #40782
5 lines
150 B
TypeScript
5 lines
150 B
TypeScript
import { Component } from '@angular/core';
|
|
|
|
@Component({selector: 'app-parent', template: '<app-child></app-child>'})
|
|
export class ParentComponent {}
|