Skip to content

Commit

Permalink
[Lexical] Update outdated flow file for LexicalMarkdown (#6057)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sahejkm authored May 8, 2024
1 parent bddd362 commit 5b20765
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/lexical-markdown/flow/LexicalMarkdown.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,14 @@ declare export function registerMarkdownShortcuts(
declare export function $convertFromMarkdownString(
markdown: string,
transformers?: Array<Transformer>,
node?: ElementNode,
): void;

// TODO:
// transformers should be required argument, breaking change
declare export function $convertToMarkdownString(
transformers?: Array<Transformer>,
node?: ElementNode,
): string;

declare export var BOLD_ITALIC_STAR: TextFormatTransformer;
Expand Down

0 comments on commit 5b20765

Please sign in to comment.