diff --git a/api/@ohos.base.d.ets b/api/@ohos.base.d.ets index 39f9d3995fd8fcee34650181e05a732a7468c206..0f7d42b99c200e99227ddb41516bb7ab0e64cea3 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.