From a79cfdd738b0699cb7be5452fd84582b6381b961 Mon Sep 17 00:00:00 2001 From: caochuan Date: Fri, 8 Aug 2025 15:16:20 +0800 Subject: [PATCH] fix medialibrary old api Signed-off-by: caochuan --- api/@ohos.file.photoAccessHelper.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@ohos.file.photoAccessHelper.d.ts b/api/@ohos.file.photoAccessHelper.d.ts index 36bc4f0091d..9f695a56973 100644 --- a/api/@ohos.file.photoAccessHelper.d.ts +++ b/api/@ohos.file.photoAccessHelper.d.ts @@ -2060,7 +2060,7 @@ declare namespace photoAccessHelper { * @systemapi * @since 11 */ - commitEditedAsset(editData: string, uri: string, callback: AsyncCallback); + commitEditedAsset(editData: string, uri: string, callback: AsyncCallback): void; /** * Commits the edited image or video asset. This API uses a promise to return the result. * @@ -2092,7 +2092,7 @@ declare namespace photoAccessHelper { * @systemapi * @since 11 */ - revertToOriginal(callback: AsyncCallback); + revertToOriginal(callback: AsyncCallback): void; /** * Reverts to the state of the file before being edited. This API uses a promise to return the result. * -- Gitee