Skip to content

Commit

Permalink
Fix flowtypes for
Browse files Browse the repository at this point in the history
  • Loading branch information
fantactuka committed Apr 5, 2023
1 parent 2c8bfdb commit 1e362b4
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 @@ -849,7 +849,7 @@ declare export function $getNearestRootOrShadowRoot(
node: LexicalNode,
): RootNode | ElementNode;
declare export function $isRootOrShadowRoot(
node: LexicalNode,
node: ?LexicalNode,
): boolean %checks(node instanceof RootNode || node instanceof ElementNode);
declare export function $hasAncestor(
child: LexicalNode,
Expand Down

0 comments on commit 1e362b4

Please sign in to comment.