不需支持string

Signed-off-by: fenglinbailu <liubin249@huawei.com>
This commit is contained in:
fenglinbailu 2024-10-23 17:26:00 +08:00
parent 628ee54e4d
commit d3cd861a84

View File

@ -3449,22 +3449,22 @@ declare interface ChainWeightOptions {
/**
* Horizontal ChainWeight.
*
* @type { ?(number | string) }
* @type { ?(number) }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 14
*/
horizontal?: number | string;
horizontal?: number;
/**
* Vertical ChainWeight.
*
* @type { ?(number | string) }
* @type { ?(number) }
* @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform
* @atomicservice
* @since 14
*/
vertical?: number | string;
vertical?: number;
}