Closed ghost closed 6 years ago
Thanks for the help, the solution wasn't what you tell me. Anyway, thanks a lot. Already solved. The error was in the book.
I am getting an error when I use both:
import { HttpClient } from '@angular/common/http';
or
import { HttpClientModule } from '@angular/common/http';
Any ideas?
Thanks,
Jason
Change:
import { HttpClient } from '@angular/common/http';
toimport { HttpClientModule } from '@angular/common/http';