Skip to content

Commit

Permalink
Fix type error in main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
thetarnav committed Jan 20, 2024
1 parent fbe1098 commit f22de29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const Command = {
Build: "build",
}

/** @type {Record<Command, (args: string[]) => void>} */
/** @type {{[key in Command]?: (args: string[]) => void}} */
const command_handlers = {
[Command.Dev]() {
let child = makeChildServer()
Expand Down

0 comments on commit f22de29

Please sign in to comment.