import { type SliderProps, type SliderThumbProps, type SliderValue, } from "../../packages/vue/src"; const scalar: SliderProps = { modelValue: 10, orientation: "vertical" }; const range: SliderProps = { modelValue: [10, 90], step: 0.1 }; const thumb: SliderThumbProps = { index: 1, name: "max", isDisabled: true }; // @ts-expect-error Slider does not accept formatted strings const invalid: SliderProps = { modelValue: "$10" }; // @ts-expect-error invalid orientation const direction: SliderProps = { orientation: "diagonal" }; // @ts-expect-error input indices are numeric const badIndex: SliderThumbProps = { index: "1" }; const value: SliderValue = [10, 90]; void [scalar, range, thumb, invalid, direction, badIndex, value];