fix(common): expose the `HttpUploadProgressEvent` interface as public API (#30852)
Fixes #30814 PR Close #30852
This commit is contained in:
parent
7afd2603c9
commit
5c18f23788
|
@ -14,6 +14,6 @@ export {JsonpClientBackend, JsonpInterceptor} from './src/jsonp';
|
|||
export {HttpClientJsonpModule, HttpClientModule, HttpClientXsrfModule, HttpInterceptingHandler as ɵHttpInterceptingHandler} from './src/module';
|
||||
export {HttpParameterCodec, HttpParams, HttpUrlEncodingCodec} from './src/params';
|
||||
export {HttpRequest} from './src/request';
|
||||
export {HttpDownloadProgressEvent, HttpErrorResponse, HttpEvent, HttpEventType, HttpHeaderResponse, HttpProgressEvent, HttpResponse, HttpResponseBase, HttpSentEvent, HttpUserEvent} from './src/response';
|
||||
export {HttpDownloadProgressEvent, HttpErrorResponse, HttpEvent, HttpEventType, HttpHeaderResponse, HttpProgressEvent, HttpResponse, HttpResponseBase, HttpSentEvent, HttpUploadProgressEvent, HttpUserEvent} from './src/response';
|
||||
export {HttpXhrBackend, XhrFactory} from './src/xhr';
|
||||
export {HttpXsrfTokenExtractor} from './src/xsrf';
|
||||
|
|
|
@ -87,7 +87,7 @@ export interface HttpDownloadProgressEvent extends HttpProgressEvent {
|
|||
/**
|
||||
* An upload progress event.
|
||||
*
|
||||
*
|
||||
* @publicApi
|
||||
*/
|
||||
export interface HttpUploadProgressEvent extends HttpProgressEvent {
|
||||
type: HttpEventType.UploadProgress;
|
||||
|
|
|
@ -1694,6 +1694,10 @@ export interface HttpSentEvent {
|
|||
type: HttpEventType.Sent;
|
||||
}
|
||||
|
||||
export interface HttpUploadProgressEvent extends HttpProgressEvent {
|
||||
type: HttpEventType.UploadProgress;
|
||||
}
|
||||
|
||||
export declare class HttpUrlEncodingCodec implements HttpParameterCodec {
|
||||
decodeKey(key: string): string;
|
||||
decodeValue(value: string): string;
|
||||
|
|
Loading…
Reference in New Issue