Skip to content

Commit

Permalink
fix(theme:http): fix missing content of HttpOptions (#1640)
Browse files Browse the repository at this point in the history
Co-authored-by: zhangyin <[email protected]>
  • Loading branch information
iotzy and zhangyin authored Aug 29, 2023
1 parent 52cfb02 commit 28eeceb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/theme/src/services/http/http.decorator.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { HttpHeaders } from '@angular/common/http';
import { HttpHeaders, HttpContext } from '@angular/common/http';
import { Inject, Injectable, Injector } from '@angular/core';
import { Observable, throwError } from 'rxjs';

Expand Down Expand Up @@ -27,6 +27,7 @@ export interface HttpOptions {
responseType?: 'arraybuffer' | 'blob' | 'json' | 'text';
reportProgress?: boolean;
withCredentials?: boolean;
context?: HttpContext;
}

interface ParamType {
Expand Down

0 comments on commit 28eeceb

Please sign in to comment.