From 9a4a829b49d22e5f86d313a037e11305e7cb870e Mon Sep 17 00:00:00 2001 From: Fouckttt Date: Mon, 28 Jul 2025 19:31:40 +0800 Subject: [PATCH] No JSdoc test Issue:https://gitee.com/openharmony/interface_sdk-js/issues/ICPCVT Signed-off-by: Fouckttt --- .../js/ani/file_cloud_sync/ets/@ohos.file.cloudSync.ets | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/interfaces/kits/js/ani/file_cloud_sync/ets/@ohos.file.cloudSync.ets b/interfaces/kits/js/ani/file_cloud_sync/ets/@ohos.file.cloudSync.ets index d4d5f4373..39f466a06 100644 --- a/interfaces/kits/js/ani/file_cloud_sync/ets/@ohos.file.cloudSync.ets +++ b/interfaces/kits/js/ani/file_cloud_sync/ets/@ohos.file.cloudSync.ets @@ -71,9 +71,11 @@ export default namespace cloudSync { native on(evt: string, callback: GallerySyncCallback): void; - native off(evt: string, callback: GallerySyncCallback): void; + native offWithEvtCallback(evt: string, callback: GallerySyncCallback): void; - native off(evt: string): void; + native offWithEvt(evt: string): void; + + overload off { offWithEvtCallback, offWithEvt } start(): Promise { return new Promise((resolve: (result: undefined) => void, -- Gitee