Rob Pilling 5ab6224954 Split setUI types into overloaded functions
This prevents erroneous usage, e.g. a callback with "clock" or expecting
`undefined` to be passed to a "clockupdown" callback.

It also "blesses" `{mode: "clock" | "updown" | ...}` with a subset of
options which are handled by `setUI` (`remove` and `back`).
2023-04-07 16:50:32 +01:00
..
2023-03-07 14:07:46 +00:00