diff --git a/api/@ohos.fileManager.d.ts b/api/@ohos.fileManager.d.ts index 00f8a7528ea3d7f97bca72687b658f071c81794d..d0404e0adb55f0eb3eb63ff2c112afb521de1465 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.