Cannot find name 'EventEmitter'.ts(2304) code example
Example: error TS2304: Cannot find name 'EventEmitter'.
Might be you forgot to import EventEmitter from '@angular/core'
import { Component, EventEmitter } from '@angular/core';
Might be you forgot to import EventEmitter from '@angular/core'
import { Component, EventEmitter } from '@angular/core';