I\'m currently following a tutorial and the tutorial is making use of EventEmitter. The code goes like this
EventEmitter
@Output() ratingClicked: EventEmitter<
When using Visual Studio Code, The IDE automatically imports EventEmitter from Node.js.
import { EventEmitter } from "events";
In this case you'll have to manually change it to angular core module
import { EventEmitter } from "@angular/core";