Skip to content

Commit

Permalink
Add 2 missing flow exports (#5314)
Browse files Browse the repository at this point in the history
  • Loading branch information
zurfyx authored Nov 30, 2023
1 parent 2730895 commit 163fd17
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/lexical-list/flow/LexicalList.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ declare export class ListItemNode extends ElementNode {
canInsertAfter(node: LexicalNode): boolean;
canReplaceWith(replacement: LexicalNode): boolean;
canMergeWith(node: LexicalNode): boolean;
getValue(): number;
setValue(value: number): void;
getChecked(): boolean | void;
setChecked(boolean): this;
toggleChecked(): void;
Expand Down
8 changes: 8 additions & 0 deletions packages/lexical/flow/Lexical.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,14 @@ declare export function $copyNode(
offset: number,
): [ElementNode, ElementNode];

/**
* LexicalNormalization
*/

declare export function $normalizeSelection__EXPERIMENTAL(
selection: RangeSelection,
): RangeSelection;

/**
* Serialization/Deserialization
* */
Expand Down

2 comments on commit 163fd17

@vercel
Copy link

@vercel vercel bot commented on 163fd17 Nov 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

lexical – ./packages/lexical-website

lexicaljs.com
lexical-fbopensource.vercel.app
lexical-git-main-fbopensource.vercel.app
lexicaljs.org
lexical.dev
www.lexical.dev

@vercel
Copy link

@vercel vercel bot commented on 163fd17 Nov 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

lexical-playground – ./packages/lexical-playground

lexical-playground-git-main-fbopensource.vercel.app
lexical-playground.vercel.app
lexical-playground-fbopensource.vercel.app
playground.lexical.dev

Please sign in to comment.