`Error: Output is not defined` when passing value outside a directive to parent directive
问题 I have an root-app component which is defined like this in the template. template: ` <dev-table (complete)="onSelect(developer)"></dev-table> <dev-details [selectedDeveloper]="selectedDeveloper"></dev-details> ` directives: [DevDetailsComponent, DevTableComponent], providers: [DevValueService, provide(DevService, {useClass: DevService})] is a list and on selection of one of the internal list it should send the value of the list (developer) which is passed into as selected developer. @Input is