不需支持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. * Horizontal ChainWeight.
* *
* @type { ?(number | string) } * @type { ?(number) }
* @syscap SystemCapability.ArkUI.ArkUI.Full * @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform * @crossplatform
* @atomicservice * @atomicservice
* @since 14 * @since 14
*/ */
horizontal?: number | string; horizontal?: number;
/** /**
* Vertical ChainWeight. * Vertical ChainWeight.
* *
* @type { ?(number | string) } * @type { ?(number) }
* @syscap SystemCapability.ArkUI.ArkUI.Full * @syscap SystemCapability.ArkUI.ArkUI.Full
* @crossplatform * @crossplatform
* @atomicservice * @atomicservice
* @since 14 * @since 14
*/ */
vertical?: number | string; vertical?: number;
} }