diff --git a/api/@ohos.file.photoAccessHelper.d.ts b/api/@ohos.file.photoAccessHelper.d.ts index 36bc4f0091d1376905a56a8c9f834383cc568b8e..9f695a5697313a0f08eb0533282cd5e826651b43 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. *