httpclient.ts
Observable<Article[]> articles$ = this.http.get('api.learn-angular.fr/articles') | |
.map((res:Response) => res.json() as Article[]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment