angular httpparams from interface code example
Example: typescript interface to http params
public getData(p: ValueList) {
return this.httpClient.get(`${url}`, { params: new HttpParams({ fromObject: p}) });
}
public getData(p: ValueList) {
return this.httpClient.get(`${url}`, { params: new HttpParams({ fromObject: p}) });
}