riku
2026-04-02 3282e95db0207ee133d1e98d9771dec9d83b0fc4
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;