Skip to content

Commit

Permalink
Flow: Fix DOMConversionFn type
Browse files Browse the repository at this point in the history
  • Loading branch information
lytion committed Dec 19, 2024
1 parent 59b56f4 commit 4360912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lexical/flow/Lexical.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ export type DOMConversion = {
conversion: DOMConversionFn,
priority: 0 | 1 | 2 | 3 | 4,
};
export type DOMConversionFn = (element: Node) => DOMConversionOutput;
export type DOMConversionFn = (element: Node) => DOMConversionOutput | null;
export type DOMChildConversion = (
lexicalNode: LexicalNode,
parentLexicalNode: ?LexicalNode | null,
Expand Down

0 comments on commit 4360912

Please sign in to comment.