Skip to content
Permalink
Browse files

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

…1072)

Fixes #28452

PR Close #31072
  • Loading branch information...
MansourFall authored and mhevery committed Jun 15, 2019
1 parent f698a6b commit b3ea6981cd5c3a7d064dbacdabd327b04cb8c056
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/common/http/src/params.ts
@@ -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;

0 comments on commit b3ea698

Please sign in to comment.
You can’t perform that action at this time.