Check out example codes for "error TS2304: Cannot find name 'EventEmitter'.". It will help you in understanding the concepts better.

Code Example 1

Might be you forgot to import EventEmitter from '@angular/core'
import { Component, EventEmitter } from '@angular/core';

Learn ReactJs, React Native from akashmittal.com