feat(common): HttpParams fromObject accepts ReadonlyArray<string> (#31072)

Fixes #28452

PR Close #31072
This commit is contained in:
Mansour Fall 2019-06-15 17:24:18 +02:00 committed by Misko Hevery
parent 9a55eaf10d
commit f5bec3ff50
1 changed files with 1 additions and 1 deletions

View File

@ -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;