From 8b6a16ebe6c56152b2430fc087952ead3312eda5 Mon Sep 17 00:00:00 2001 From: zzz701 Date: Mon, 16 Jun 2025 16:13:49 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90interface=E3=80=91AsyncCallback=20Erro?= =?UTF-8?q?r=E5=8F=98=E6=9B=B4=E5=8F=AF=E9=80=89=E7=9A=84=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zzz701 --- 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