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.

Show your support

Clapping shows how much you appreciated Isaac Mann’s story.