From 2b1499cfe69b208fb4f459b6b08c3f7efbd21c66 Mon Sep 17 00:00:00 2001 From: Joe Anderson Date: Mon, 20 Mar 2023 17:19:13 +0000 Subject: [PATCH] fix yarn build:next --- site/examples/custom-types.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/site/examples/custom-types.d.ts b/site/examples/custom-types.d.ts index 3d99b33a6e..6ffce57b4b 100644 --- a/site/examples/custom-types.d.ts +++ b/site/examples/custom-types.d.ts @@ -47,6 +47,8 @@ export type LinkElement = { type: 'link'; url: string; children: Descendant[] } export type ButtonElement = { type: 'button'; children: Descendant[] } +export type BadgeElement = { type: 'badge'; children: Descendant[] } + export type ListItemElement = { type: 'list-item'; children: Descendant[] } export type MentionElement = { @@ -92,6 +94,7 @@ type CustomElement = | ImageElement | LinkElement | ButtonElement + | BadgeElement | ListItemElement | MentionElement | ParagraphElement