!5922 修复ListItem构造定义顺序,避免IDE出现废弃标识

Merge pull request !5922 from yeyinglong/nest2
This commit is contained in:
openharmony_ci 2023-06-20 01:38:11 +00:00 committed by Gitee
commit 1de14c5bdb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -278,6 +278,17 @@ declare interface ListItemOptions {
* @since 10
*/
interface ListItemInterface {
/**
* Called when an interface is used.
* @param { ListItemOptions } value the list item options.
* @returns { ListItemAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @form
* @crossplatform
* @since 10
*/
(value?: ListItemOptions): ListItemAttribute;
/**
* Called when an interface is used.
* @since 7
@ -290,17 +301,6 @@ interface ListItemInterface {
* @useinstead listItem/ListItemInterface
*/
(value?: string): ListItemAttribute;
/**
* Called when an interface is used.
* @param { ListItemOptions } value the list item options.
* @returns { ListItemAttribute }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @form
* @crossplatform
* @since 10
*/
(value?: ListItemOptions): ListItemAttribute;
}
/**