をインポートすることが重要であり、任意のは、私の好きな を使用する必要がありますなぜ文句を言わずに のOnInitをインポートせずのOnInit
ngOnInit(){
this.recipies=this.recipeService.getRecipies();
}
この
はまだ正常に動作している実装理由:import { Component,EventEmitter,Output , OnInit } from '@angular/core';
export class RecipiesListComponent implements OnInit{}