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 Matias Niemelä
parent 4bd3a65764
commit 7b7757dd3d
3 changed files with 23 additions and 20 deletions

View File

@ -12,7 +12,7 @@ import {concatMap, filter, map} from 'rxjs/operators';
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';
@ -361,7 +361,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});
}
}