From 17ed4d640dec86c316f1ed1169e4abfaad66ce48 Mon Sep 17 00:00:00 2001 From: RosyCloudsLee <43403309+RosyCloudsLee@users.noreply.github.com> Date: Tue, 21 May 2024 09:36:14 +0800 Subject: [PATCH] types: update --- src/utils/http/types.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils/http/types.d.ts b/src/utils/http/types.d.ts index 44c600dc69..ef7c25f33d 100644 --- a/src/utils/http/types.d.ts +++ b/src/utils/http/types.d.ts @@ -36,12 +36,12 @@ export default class PureHttp { ): Promise; post( url: string, - params?: T, + params?: P, config?: PureHttpRequestConfig - ): Promise

; + ): Promise; get( url: string, - params?: T, + params?: P, config?: PureHttpRequestConfig - ): Promise

; + ): Promise; }