Skip to content

Commit

Permalink
feat(common): HttpParams fromObject accepts ReadonlyArray<string>
Browse files Browse the repository at this point in the history
  • Loading branch information
MansourFall committed Jun 15, 2019
1 parent c596795 commit 0138e5c
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 0138e5c

Please sign in to comment.