Error for reference service in the Angular

0

Good morning,

I'm having trouble referencing a non-angular service. Here is an error:

  

ERROR in c: /Projetos/LivroAngular2/src/app/lista-pessoa-vip/lista-pessoa-vip.component.ts   (2.10): Module   '"c: /Projetos/LivroAngular2/src/app/lista-pessoa-vip/pessoavip-service.service"'   has no exported member 'PersonavipService'.

     

ERROR in c: /Projetos/LivroAngular2/src/app/lista-pessoa-vip/lista-pessoa-vip.component.ts   (2.10): Module   '"c: /Projetos/LivroAngular2/src/app/lista-pessoa-vip/pessoavip-service.service"'   has no exported member 'PersonavipService'.

Thank you!

    
asked by anonymous 26.10.2018 / 13:24

1 answer

0

You have to call it in ngModules. make the import it.

    
26.10.2018 / 14:16