diff --git a/api/@internal/component/ets/slider.d.ts b/api/@internal/component/ets/slider.d.ts index f372a8c8edce0654b1520f9b84e25f6c2f6d2385..f4f2f600e3d471682c4cff8e2b42463a70358e4c 100644 --- a/api/@internal/component/ets/slider.d.ts +++ b/api/@internal/component/ets/slider.d.ts @@ -148,13 +148,13 @@ declare class SliderAttribute extends CommonMethod { * Called when the minimum label is set. * @since 7 */ - minLabel(value: string): SliderAttribute; + minLabel(value: number): SliderAttribute; /** * Called when the maximum label is set. * @since 7 */ - maxLabel(value: string): SliderAttribute; + maxLabel(value: number): SliderAttribute; /** * Called when setting whether to display step size.