refactor: auto ordered imports (#9163)

This commit is contained in:
Marcel Mraz
2025-03-12 15:23:31 +01:00
committed by GitHub
parent 82b9a6b464
commit 21ffaf4d76
421 changed files with 3532 additions and 2763 deletions

View File

@@ -1,9 +1,4 @@
import type {
ExcalidrawElement,
ExcalidrawFreeDrawElement,
ExcalidrawLinearElement,
NonDeletedExcalidrawElement,
} from "@excalidraw/excalidraw/element/types";
import { getElementBounds } from "@excalidraw/excalidraw/element/bounds";
import {
isArrowElement,
isExcalidrawElement,
@@ -11,10 +6,7 @@ import {
isLinearElement,
isTextElement,
} from "@excalidraw/excalidraw/element/typeChecks";
import type { Bounds } from "@excalidraw/excalidraw/element/bounds";
import { getElementBounds } from "@excalidraw/excalidraw/element/bounds";
import { arrayToMap } from "@excalidraw/excalidraw/utils";
import type { LocalPoint } from "@excalidraw/math";
import {
rangeIncludesValue,
pointFrom,
@@ -22,6 +14,15 @@ import {
rangeInclusive,
} from "@excalidraw/math";
import type { Bounds } from "@excalidraw/excalidraw/element/bounds";
import type {
ExcalidrawElement,
ExcalidrawFreeDrawElement,
ExcalidrawLinearElement,
NonDeletedExcalidrawElement,
} from "@excalidraw/excalidraw/element/types";
import type { LocalPoint } from "@excalidraw/math";
type Element = NonDeletedExcalidrawElement;
type Elements = readonly NonDeletedExcalidrawElement[];