Skip to content

Commit

Permalink
flow fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zurfyx committed Jan 24, 2024
1 parent c962fac commit 2541462
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/lexical-table/flow/LexicalTable.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -359,16 +359,16 @@ declare export function $isGridCellNode(
*/

export type InsertTableCommandPayloadHeaders =
| Readonly<{
| $ReadOnly<{
rows: boolean;
columns: boolean;
}>
| boolean;

export type InsertTableCommandPayload = Readonly<{
export type InsertTableCommandPayload = $ReadOnly<{
columns: string;
rows: string;
includeHeaders?: InsertTableCommandPayloadHeaders;
}>;

export const INSERT_TABLE_COMMAND: LexicalCommand<InsertTableCommandPayload>;
declare export var INSERT_TABLE_COMMAND: LexicalCommand<InsertTableCommandPayload>;

0 comments on commit 2541462

Please sign in to comment.