From 9f3981fc3e4c81bf6830f9c93e2bd770463d7888 Mon Sep 17 00:00:00 2001 From: haonan_7 Date: Tue, 29 Mar 2022 15:14:05 +0800 Subject: [PATCH] fixed 5f0aef5 from https://gitee.com/haonan-seven/interface_sdk-js/pulls/1470 fix problem Signed-off-by: haonan_7 --- api/@ohos.fileManager.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@ohos.fileManager.d.ts b/api/@ohos.fileManager.d.ts index 00f8a7528e..d0404e0adb 100644 --- a/api/@ohos.fileManager.d.ts +++ b/api/@ohos.fileManager.d.ts @@ -45,7 +45,7 @@ declare namespace filemanager { * @systemapi */ declare function listFile(path: string, type: string, options?: {dev?: DevInfo, offset?: number, count?: number}): Promise; -declare function listFile(path: string, type: string, options?: {dev?: DevInfo, offset?: number, count?: number}, AsyncCallback): void; +declare function listFile(path: string, type: string, options?: {dev?: DevInfo, offset?: number, count?: number}, callback: AsyncCallback): void; /** * getRoot. -- Gitee