C

Рыночек не порешал
Size: a a a
C
AS
AS
AS
AS
AS
AS
AS
AS
AS
enum ItemType {
Input,
Radio,
Switch,
}
type scheme = {
type: Input.Radio,
opts: InputOpts,
} | {
type: Input.Switch,
opts: SwitchOpts,
}
AS
AS
AS
AS
AS
enum Item {
Switch(Switch),
Input(Input),
}
match item {
Switch(switch) => { handle(switch) }
}
AS
AS
P
P