mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
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`).