ToggleSetting: BaseSetting & {
    type: "toggle";
    active(): boolean;
    toggle(): void;
}

Description of a 'toggle' setting

Type declaration