From 1d840c132b4bdb51a7ee35737c217d97da2c7532 Mon Sep 17 00:00:00 2001 From: Hamza Date: Sun, 8 Dec 2024 12:08:50 +0900 Subject: [PATCH] make regExpEnd a boolean --- packages/lexical-markdown/src/MarkdownTransformers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lexical-markdown/src/MarkdownTransformers.ts b/packages/lexical-markdown/src/MarkdownTransformers.ts index 2a4fa5d5cf0..530899e2813 100644 --- a/packages/lexical-markdown/src/MarkdownTransformers.ts +++ b/packages/lexical-markdown/src/MarkdownTransformers.ts @@ -113,7 +113,7 @@ export type MultilineElementTransformer = { * Whether the end match is optional. If true, the end match is not required to match for the transformer to be triggered. * The entire text from regexpStart to the end of the document will then be matched. */ - optional?: true; + optional?: boolean; regExp: RegExp; }; /**