From 229530420d20b2656d7e485e39b29158d6b73460 Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Fri, 2 Feb 2024 18:25:15 -0800 Subject: [PATCH] Fix StyleInfo typing. --- src/config/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/types.ts b/src/config/types.ts index 0fd907a4..19b87484 100644 --- a/src/config/types.ts +++ b/src/config/types.ts @@ -326,7 +326,7 @@ const actionsSchema = z.object({ }); const elementsBaseSchema = actionsBaseSchema.extend({ - style: z.record(z.string().nullable()).optional(), + style: z.record(z.string().nullable().or(z.undefined())).optional(), title: z.string().nullable().optional(), });