I\'m currently following a tutorial and the tutorial is making use of EventEmitter. The code goes like this
EventEmitter
@Output() ratingClicked: EventEmitter<
You are probably using the node native EventEmitter from node/index.d.ts i.e.
node
node/index.d.ts
import { EventEmitter } from 'events';
Change the import to the one from angular:
import { EventEmitter } from '@angular/core';