From 8cafce4a1a3582ac1aa31d4365b85579730d3de6 Mon Sep 17 00:00:00 2001 From: zzz701 Date: Wed, 25 Jun 2025 10:46:22 +0800 Subject: [PATCH] =?UTF-8?q?AsyncCallback=20Error=E5=8F=98=E6=9B=B4?= =?UTF-8?q?=E5=8F=AF=E9=80=89=E7=9A=84=E5=8F=82=E6=95=B0=20Signed-off-by:?= =?UTF-8?q?=20zzz701=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/@ohos.base.d.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@ohos.base.d.ets b/api/@ohos.base.d.ets index 39f9d3995f..0f7d42b99c 100644 --- a/api/@ohos.base.d.ets +++ b/api/@ohos.base.d.ets @@ -51,7 +51,7 @@ export type ErrorCallback = (err: T)=> void; * @atomicservice * @since 20 */ -export type AsyncCallback = (err: BusinessError, data: T)=> void; +export type AsyncCallback = (err: BusinessError | null, data: T | undefined)=> void; /** * Defines the error interface. -- Gitee