mirror of
https://github.com/angular/angular.git
synced 2026-11-24 15:37:51 -05: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