From 342c50b097bd84f1930dd73ea64a5faca6c93dd5 Mon Sep 17 00:00:00 2001 From: cipchk Date: Mon, 1 Jul 2024 15:35:49 +0800 Subject: [PATCH] fix(theme:http): fix type mismatch - close https://github.com/ng-alain/ng-alain/issues/2501 --- packages/theme/src/services/http/http.client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/theme/src/services/http/http.client.ts b/packages/theme/src/services/http/http.client.ts index a2240bfb9..abcd9b7b5 100644 --- a/packages/theme/src/services/http/http.client.ts +++ b/packages/theme/src/services/http/http.client.ts @@ -297,7 +297,7 @@ export class _HttpClient { params?: any, options?: { headers?: _HttpHeaders; - observe: 'response'; + observe: 'body' | 'response'; reportProgress?: boolean; responseType?: 'json'; withCredentials?: boolean;