@twip/web
    Preparing search index...

    Type Alias CommandInfo

    CommandInfo:
        | CommandEntry & { id: NoArgumentCommandId; takesArguments: false }
        | CommandEntry & {
            id: Exclude<CommandId, NoArgumentCommandId>;
            takesArguments: true;
        }

    A command's catalog entry. takesArguments tells the two kinds apart, so an entry filtered on !takesArguments has a NoArgumentCommandId and runs as commands[entry.id]().