Skip to content

Commit

Permalink
Flow add tags type to OnChange plugin (#6457)
Browse files Browse the repository at this point in the history
  • Loading branch information
zurfyx authored Jul 25, 2024
1 parent 5a7d9c7 commit eb364a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lexical-react/flow/LexicalOnChangePlugin.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ import type {EditorState, LexicalEditor} from 'lexical';
declare export function OnChangePlugin({
ignoreHistoryMergeTagChange?: boolean,
ignoreSelectionChange?: boolean,
onChange: (editorState: EditorState, editor: LexicalEditor) => void,
onChange: (editorState: EditorState, editor: LexicalEditor, tags: Set<string>) => void,
}): null;

0 comments on commit eb364a1

Please sign in to comment.