diff --git a/packages/lexical/flow/Lexical.js.flow b/packages/lexical/flow/Lexical.js.flow index 1779c2f272a..75528066d94 100644 --- a/packages/lexical/flow/Lexical.js.flow +++ b/packages/lexical/flow/Lexical.js.flow @@ -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;