mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Before this commit, when initializing `HttpParams` with:
const body = new HttpParams({fromObject: {b: 2}});
then `body.get('b')` returned `2` instead of `'2'` as expected.
This commit makes sure the values are converted to strings in such cases.
Fixes #42641
PR Close #42643
|
||
|---|---|---|
| .. | ||
| backend.ts | ||
| client.ts | ||
| context.ts | ||
| headers.ts | ||
| interceptor.ts | ||
| jsonp.ts | ||
| module.ts | ||
| params.ts | ||
| request.ts | ||
| response.ts | ||
| xhr.ts | ||
| xsrf.ts | ||