mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-30 19:02:32 +00:00
!5922 修复ListItem构造定义顺序,避免IDE出现废弃标识
Merge pull request !5922 from yeyinglong/nest2
This commit is contained in:
commit
1de14c5bdb
22
api/@internal/component/ets/list_item.d.ts
vendored
22
api/@internal/component/ets/list_item.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user