diff --git a/api/@ohos.fileManager.d.ts b/api/@ohos.fileManager.d.ts index 0b51f1f006b3ff16791875828652e992487d17fa..3f9d35c52b431f613e116caba7230bd20f73a309 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.