Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript interface to http params

public getData(p: ValueList) {
  return this.httpClient.get(`${url}`, { params: new HttpParams({ fromObject: p}) });
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #typescript #interface #http #params
ADD COMMENT
Topic
Name
9+5 =