Skip to content

Core / macro: ChoiceMacroMetadata

Functions, types, and exports for Core / macro: ChoiceMacroMetadata.

Page outline

Metadata consumed by JSX choice transforms rather than rendered as branches.

import type { ChoiceMacroMetadata } from "@palamedes/core/macro"

type ChoiceMacroMetadata = {
    context?: string;
    comment?: string;
};

Properties

NameTypeRequired
contextstringNo
commentstringNo

Source entry on GitHub

Last updated: November 10, 2026