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

@ -15,7 +15,7 @@ import {map} from 'rxjs/operator/map';
import {HttpHandler} from './backend';
import {HttpHeaders} from './headers';
import {HttpParams, HttpParamsOptions} from './params';
import {HttpParams} from './params';
import {HttpRequest} from './request';
import {HttpEvent, HttpResponse} from './response';
@ -364,7 +364,7 @@ export class HttpClient {
if (options.params instanceof HttpParams) {
params = options.params;
} else {
params = new HttpParams({ fromObject: options.params } as HttpParamsOptions);
params = new HttpParams({fromObject: options.params});
}
}