Merge pull request !1470 from haonan_7/master
This commit is contained in:
openharmony_ci 2022-03-29 10:05:45 +00:00 committed by Gitee
commit 726f5684f8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -45,7 +45,7 @@ declare namespace filemanager {
* @systemapi
*/
declare function listFile(path: string, type: string, options?: {dev?: DevInfo, offset?: number, count?: number}): Promise<FileInfo[]>;
declare function listFile(path: string, type: string, options?: {dev?: DevInfo, offset?: number, count?: number}, AsyncCallback<FileInfo[]>): void;
declare function listFile(path: string, type: string, options?: {dev?: DevInfo, offset?: number, count?: number}, callback: AsyncCallback<FileInfo[]>): void;
/**
* getRoot.