From 6a42408a2c447d73a50b431acc0792113f8554b9 Mon Sep 17 00:00:00 2001 From: fengjunqing Date: Mon, 12 Jun 2023 16:54:21 +0800 Subject: [PATCH] Modified '@param' label of select interface Signed-off-by: fengjunqing --- api/@ohos.file.picker.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/api/@ohos.file.picker.d.ts b/api/@ohos.file.picker.d.ts index 73582c641..f9782a1f1 100644 --- a/api/@ohos.file.picker.d.ts +++ b/api/@ohos.file.picker.d.ts @@ -46,7 +46,7 @@ declare namespace picker { /** * The Type of the file in the picker window. * - * @type { PhotoViewMIMETypes } + * @type { ?PhotoViewMIMETypes } * @syscap SystemCapability.FileManagement.UserFileService * @since 9 */ @@ -55,7 +55,7 @@ declare namespace picker { /** * Maximum number of images for a single selection. * - * @type { number } + * @type { ?number } * @syscap SystemCapability.FileManagement.UserFileService * @since 9 */ @@ -98,7 +98,7 @@ declare namespace picker { /** * The names of the files to be saved. * - * @type { Array } + * @type { ?Array } * @syscap SystemCapability.FileManagement.UserFileService * @since 9 */ @@ -125,7 +125,7 @@ declare namespace picker { /** * Pull up the photo picker based on the selection mode. * - * @param { PhotoSelectResult } option - represents the options provided in select mode. + * @param { PhotoSelectOptions } option - represents the options provided in select mode. * @param { AsyncCallback } callback - callback * @syscap SystemCapability.FileManagement.UserFileService * @since 9 @@ -190,7 +190,7 @@ declare namespace picker { * The names of the files to be saved. * Currently, only single file is supported. * - * @type { Array } + * @type { ?Array } * @syscap SystemCapability.FileManagement.UserFileService * @since 9 */ @@ -288,7 +288,7 @@ declare namespace picker { * The names of the files to be saved. * Currently, only single file is supported. * - * @type { Array } + * @type { ?Array } * @syscap SystemCapability.FileManagement.UserFileService * @since 9 */