export class Person { public name = 'Initial Name'; } export class PersonComponent implements OnInit, OnChanges { @Input() public person: Person; ngOnChanges(changes: SimpleChanges): void { console.log('changed'); } }