Skip to content

Commit

Permalink
feat(common): HttpParams fromObject accepts ReadonlyArray<string> (#3…
Browse files Browse the repository at this point in the history
…1072)

Fixes #28452

PR Close #31072
  • Loading branch information
MansourFall authored and mhevery committed Aug 30, 2019
1 parent f698a6b commit b3ea698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/http/src/params.ts
Expand Up @@ -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;
Expand Down

0 comments on commit b3ea698

Please sign in to comment.