From 5f0aef5e0d22bddab07a069074a5a5243b1ee93d Mon Sep 17 00:00:00 2001 From: haonan_7 Date: Tue, 29 Mar 2022 15:14:05 +0800 Subject: [PATCH] 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 fffa2f5d5c..e9676f7e97 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