"Type 'EventEmitter' is not generic" ERROR in angular
For me, VS code IDE V1.60.0 has added automatically this code:
import { EventEmitter } from 'stream';
However, it is wrong and you should replace it with this
import { EventEmitter } from '@angular/core';
You are probably using the node
native EventEmitter from node/index.d.ts
i.e.
import { EventEmitter } from 'events';
Fix
Change the import to the one from angular:
import { EventEmitter } from '@angular/core';