Angular : Types with http client
introduction
here in the http request , we will define what type of data we are expecting.
in the previous post we have created one Post model and here we are using it will the post request.
private fetchPosts() {
this.http.get< { [key:string...
hashcodehub.hashnode.dev1 min read