📜  错误 TS2304:找不到名称“EventEmitter”. - 打字稿代码示例

📅  最后修改于: 2022-03-11 14:48:36.611000             🧑  作者: Mango

代码示例1
Might be you forgot to import EventEmitter from '@angular/core'
import { Component, EventEmitter } from '@angular/core';