From 180c6a3096614b1d96a4f49658fa0aaf0ac64a98 Mon Sep 17 00:00:00 2001 From: Sherry Wong Date: Tue, 24 Dec 2024 01:26:45 +0800 Subject: [PATCH] change this to any --- packages/lexical/flow/Lexical.js.flow | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;