Skip to content

Commit

Permalink
[lexical] Add missing commands to Lexical.js.flow (#6769)
Browse files Browse the repository at this point in the history
  • Loading branch information
potatowagon authored Oct 27, 2024
1 parent d64d395 commit 173a3de
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/lexical/flow/Lexical.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,18 @@ declare export var CAN_REDO_COMMAND: LexicalCommand<boolean>;
declare export var CAN_UNDO_COMMAND: LexicalCommand<boolean>;
declare export var FOCUS_COMMAND: LexicalCommand<FocusEvent>;
declare export var BLUR_COMMAND: LexicalCommand<FocusEvent>;
declare export var SELECT_ALL_COMMAND: LexicalCommand<KeyboardEvent>;
declare export var MOVE_TO_END: LexicalCommand<KeyboardEvent>;
declare export var MOVE_TO_START: LexicalCommand<KeyboardEvent>;
declare export var SELECTION_INSERT_CLIPBOARD_NODES_COMMAND: LexicalCommand<{
nodes: Array<LexicalNode>;
selection: BaseSelection;
}>;

declare export function createCommand<T>(type?: string): LexicalCommand<T>;

/**
* LexicalConstnats
* LexicalConstants
*/

declare export var IS_ALL_FORMATTING: number;
Expand Down

0 comments on commit 173a3de

Please sign in to comment.