Question 1 / 1
A RatingComponent has @Output() ratingChanged = new EventEmitter<number>(). The parent template listens with (ratingChanged)="updateRating($event)". Inside RatingComponent, the user clicks a star and calls this.ratingChanged.emit(4). What value does $event hold in the parent's updateRating($event) call, and what type is it?