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 9a55eaf commit f5bec3ff502f976ad70a85e8ddafeb2f57dec50d
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 f5bec3f

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