drained: menu is `Menu`, not `{...}` type

pull/3647/head
Rob Pilling 2024-11-06 07:38:52 +00:00
parent d376a7a0b8
commit 92348d8827
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ const draw = () => {
const reload = () => {
const showMenu = () => {
const menu: { [k: string]: () => void } = {
const menu: Menu = {
"Restore to full power": drainedRestore,
};