fix: tighten command arg value types

This commit is contained in:
Peter Steinberger
2026-01-15 17:08:09 +00:00
parent 01c43b0b0c
commit 05658b6609
3 changed files with 37 additions and 2 deletions

View File

@@ -28,7 +28,8 @@ export type CommandArgMenuSpec = {
title?: string;
};
export type CommandArgValues = Record<string, unknown>;
export type CommandArgValue = string | number | boolean | bigint;
export type CommandArgValues = Record<string, CommandArgValue>;
export type CommandArgs = {
raw?: string;