From 3d1bddfe40cd040b47b25a07b41ce78653c51fbe Mon Sep 17 00:00:00 2001 From: "J. Neugebauer" Date: Sat, 29 Jun 2024 12:00:12 +0200 Subject: [PATCH] Adds the list of choices to the `choice` type THis allows access from other packages / templates to the list of choices available for this type. --- src/types.typ | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types.typ b/src/types.typ index 1c0a84b..e37203d 100644 --- a/src/types.typ +++ b/src/types.typ @@ -39,4 +39,6 @@ name: "enum", ..args, assertions: (one-of(list), ..assertions), +) + ( + choices: list, )