Skip to content

Commit

Permalink
[lexical] Fix flow error: change this to any (#6992)
Browse files Browse the repository at this point in the history
  • Loading branch information
potatowagon authored Dec 23, 2024
1 parent 6190033 commit c844a4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/lexical/flow/Lexical.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,8 @@ declare export class LexicalNode {
getTextContentSize(includeDirectionless?: boolean): number;
createDOM(config: EditorConfig, editor: LexicalEditor): HTMLElement;
updateDOM(
prevNode: this,
// $FlowFixMe[unclear-type]
prevNode: any,
dom: HTMLElement,
config: EditorConfig,
): boolean;
Expand Down

0 comments on commit c844a4d

Please sign in to comment.