feat(common): HttpParams fromObject accepts ReadonlyArray<string> (#31072)
Fixes #28452 PR Close #31072
This commit is contained in:
parent
9a55eaf10d
commit
f5bec3ff50
|
@ -109,7 +109,7 @@ export interface HttpParamsOptions {
|
|||
fromString?: string;
|
||||
|
||||
/** Object map of the HTTP parameters. Mutually exclusive with `fromString`. */
|
||||
fromObject?: {[param: string]: string | string[]};
|
||||
fromObject?: {[param: string]: string | ReadonlyArray<string>};
|
||||
|
||||
/** Encoding codec used to parse and serialize the parameters. */
|
||||
encoder?: HttpParameterCodec;
|
||||
|
|
Loading…
Reference in New Issue