Skip to content

Commit

Permalink
feat(@angular/common): HttpParams fromObject accepts ReadonlyArray<st…
Browse files Browse the repository at this point in the history
…ring>

Fixes angular#28452
  • Loading branch information
MansourFall committed Jun 15, 2019
1 parent c596795 commit ba8159c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/http/src/params.ts
Expand Up @@ -84,7 +84,7 @@ export interface HttpParamsOptions {
fromString?: string;

/** Object map of the HTTP params. Mutually exclusive with `fromString`. */
fromObject?: {[param: string]: string | string[]};
fromObject?: {[param: string]: string | ReadonlyArray<string>};

/** Encoding codec used to parse and serialize the params. */
encoder?: HttpParameterCodec;
Expand Down

0 comments on commit ba8159c

Please sign in to comment.