error TS2304: Cannot find name 'EventEmitter'. 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';