docs(common): add HttpParamsOptions to the public API (#20332)

Fixes #20276

PR Close #20332
This commit is contained in:
George Kalpakas
2017-11-10 13:52:21 +02:00
committed by Miško Hevery
parent 47b71d98ae
commit de561f36e1
3 changed files with 23 additions and 20 deletions

View File

@ -1580,7 +1580,13 @@ export interface HttpParameterCodec {
/** @stable */
export declare class HttpParams {
constructor(options?: HttpParamsOptions);
constructor(options?: {
fromString?: string | undefined;
fromObject?: {
[param: string]: string | string[];
} | undefined;
encoder?: HttpParameterCodec | undefined;
});
append(param: string, value: string): HttpParams;
delete(param: string, value?: string): HttpParams;
get(param: string): string | null;