Skip to content

Commit

Permalink
Refactor import paths in LexicalEditorState
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateo Vuković committed May 27, 2024
1 parent 8a57b66 commit ad3df75
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/lexical/src/LexicalEditorState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@
import type {LexicalEditor} from './LexicalEditor';

Check failure on line 9 in packages/lexical/src/LexicalEditorState.ts

View workflow job for this annotation

GitHub Actions / core-tests / integrity (20.11.0)

Run autofix to sort these imports!
import type {LexicalNode, NodeMap, SerializedLexicalNode} from './LexicalNode';
import type {BaseSelection} from './LexicalSelection';
import type {SerializedElementNode} from './nodes/LexicalElementNode';
import type {SerializedRootNode} from './nodes/LexicalRootNode';

import invariant from 'shared/invariant';

import {$isElementNode, SerializedElementNode} from '.';

import {readEditorState} from './LexicalUpdates';
import {$getRoot} from './LexicalUtils';
import {$isElementNode} from './nodes/LexicalElementNode';
import {$createRootNode} from './nodes/LexicalRootNode';

export interface SerializedEditorState<
Expand Down

0 comments on commit ad3df75

Please sign in to comment.