Signed-off-by: srr101 <songruirui1@huawei.com>
This commit is contained in:
srr101 2022-08-18 17:48:46 +08:00
parent 82a89bcafa
commit 49f673541b

View File

@ -28,7 +28,7 @@ declare namespace dataShare {
* @param context Indicates the application context.
* @param uri Indicates the path of the file to open.
* @return Returns the dataShareHelper.
* @StageModelOnly
* @StageModelOnly
*/
function createDataShareHelper(context: Context, uri: string, callback: AsyncCallback<DataShareHelper>): void;
function createDataShareHelper(context: Context, uri: string): Promise<DataShareHelper>;