``` <Switcher onchange={() => { selected = null }}> ``` results in `Type '() => void' is not assignable to type '() => {}'`
results in
Type '() => void' is not assignable to type '() => {}'