From 35b4314e4213088f071022c6761e12b68718529a Mon Sep 17 00:00:00 2001 From: sahejkm Date: Wed, 8 May 2024 19:04:00 +0800 Subject: [PATCH] Update outdated flow file for LexicalMarkdown --- packages/lexical-markdown/flow/LexicalMarkdown.js.flow | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/lexical-markdown/flow/LexicalMarkdown.js.flow b/packages/lexical-markdown/flow/LexicalMarkdown.js.flow index 39d642578f4..107edb8715f 100644 --- a/packages/lexical-markdown/flow/LexicalMarkdown.js.flow +++ b/packages/lexical-markdown/flow/LexicalMarkdown.js.flow @@ -68,12 +68,14 @@ declare export function registerMarkdownShortcuts( declare export function $convertFromMarkdownString( markdown: string, transformers?: Array, + node?: ElementNode, ): void; // TODO: // transformers should be required argument, breaking change declare export function $convertToMarkdownString( transformers?: Array, + node?: ElementNode, ): string; declare export var BOLD_ITALIC_STAR: TextFormatTransformer;