Revert "docs(common): add HttpParamsOptions
to the public API (#20332)"
This reverts commit a9545aba4d
.
This commit is contained in:
@ -15,7 +15,7 @@ import {map} from 'rxjs/operator/map';
|
||||
|
||||
import {HttpHandler} from './backend';
|
||||
import {HttpHeaders} from './headers';
|
||||
import {HttpParams} from './params';
|
||||
import {HttpParams, HttpParamsOptions} 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});
|
||||
params = new HttpParams({ fromObject: options.params } as HttpParamsOptions);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user