The code below:
Luiz Filipre Freitas Carneiro
1

Are you calling that function inside an @NgModule or @Component definition? That’s when you’ll get that error.

Like what you read? Give Isaac Mann a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.