From 68b21d1b5292fc9cecb1824e2d224b53b109e9d7 Mon Sep 17 00:00:00 2001 From: phy-lei <765373325@qq.com> Date: Fri, 3 May 2024 21:19:29 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9complete=E7=9A=84?= =?UTF-8?q?=E5=85=B6=E4=BB=96=E5=8F=82=E6=95=B0=E4=B8=BA=E5=8F=AF=E9=80=89?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro/types/api/network/request.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taro/types/api/network/request.d.ts b/packages/taro/types/api/network/request.d.ts index 5e7d791ef6b1..d191d33a58f4 100644 --- a/packages/taro/types/api/network/request.d.ts +++ b/packages/taro/types/api/network/request.d.ts @@ -78,7 +78,7 @@ declare module '../../index' { /** 接口调用失败的回调函数 */ fail?: (res: TaroGeneral.CallbackResult) => void /** 接口调用结束的回调函数(调用成功、失败都会执行) */ - complete?: (res: SuccessCallbackResult) => void + complete?: (res: Partial & TaroGeneral.CallbackResult) => void /** 设置是否使用 jsonp 方式获取数据 * @default false * @supported h5