riku
2026-01-16 1f9e43b7bbb848c7ee2aaa89ffece17002b2c915
miniprogram_npm/tdesign-miniprogram/switch/type.d.ts
@@ -1,4 +1,4 @@
export interface TdSwitchProps {
export interface TdSwitchProps<T = SwitchValue> {
    customValue?: {
        type: ArrayConstructor;
        value?: Array<SwitchValue>;
@@ -22,10 +22,6 @@
    size?: {
        type: StringConstructor;
        value?: 'small' | 'medium' | 'large';
    };
    style?: {
        type: StringConstructor;
        value?: string;
    };
    value?: {
        type: null;