Type Alias PlaceholderDefinitionInput
PlaceholderDefinitionInput:
| Readonly<
{
kind: "language-form";
range?: Readonly<{ end: string; start: string }>;
translations: Readonly<Record<string, string>>;
value?: string;
},
>
| Readonly<
{
alternatives?: readonly Readonly<
{ expression: string; translation: string },
>[];
kind: "expression";
translation: string;
},
>
A placeholder definition selected by language forms or expression alternatives. Language-form definitions name a value or range and map tokens to text; expression definitions provide a default translation and conditional fragments.