Skip to content

Commit

Permalink
flow types
Browse files Browse the repository at this point in the history
  • Loading branch information
acywatson committed Sep 14, 2023
1 parent 8a874b0 commit a1e130f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/lexical-react/flow/LexicalComposer.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import type {
LexicalNode,
EditorState,
LexicalNodeReplacement,
HTMLConfig,
} from 'lexical';

export type InitialEditorStateType =
Expand All @@ -29,6 +30,7 @@ export type InitialConfigType = $ReadOnly<{
theme?: EditorThemeClasses,
editorState?: InitialEditorStateType,
onError: (error: Error, editor: LexicalEditor) => void,
html?: HTMLConfig,
}>;

type Props = {
Expand Down

0 comments on commit a1e130f

Please sign in to comment.