Fix type imports

This commit is contained in:
Marcel Mraz 2025-05-02 13:10:02 +02:00
parent 259017bc45
commit c786944866
No known key found for this signature in database
GPG key ID: 4EBD6E62DC830CD2
17 changed files with 17 additions and 17 deletions

View file

@ -68,7 +68,7 @@ import type {
VerticalAlign,
} from "@excalidraw/element/types";
import type Scene from "@excalidraw/element";
import type { Scene } from "@excalidraw/element";
import { trackEvent } from "../analytics";
import { ButtonIconSelect } from "../components/ButtonIconSelect";

View file

@ -66,7 +66,7 @@ import type {
FixedSegment,
} from "@excalidraw/element/types";
import type Scene from "@excalidraw/element";
import type { Scene } from "@excalidraw/element";
import {
bumpVersion,

View file

@ -9,7 +9,7 @@ import {
import type { ExcalidrawElement } from "@excalidraw/element/types";
import type Scene from "@excalidraw/element";
import type { Scene } from "@excalidraw/element";
import { t } from "../i18n";
import { getSelectedElements } from "../scene";

View file

@ -7,7 +7,7 @@ import type { Degrees } from "@excalidraw/math";
import type { ExcalidrawElement } from "@excalidraw/element/types";
import type Scene from "@excalidraw/element";
import type { Scene } from "@excalidraw/element";
import { angleIcon } from "../icons";

View file

@ -1,4 +1,4 @@
import type Scene from "@excalidraw/element";
import type { Scene } from "@excalidraw/element";
import { getNormalizedGridStep } from "../../scene";

View file

@ -10,7 +10,7 @@ import { isImageElement } from "@excalidraw/element";
import type { ExcalidrawElement } from "@excalidraw/element/types";
import type Scene from "@excalidraw/element";
import type { Scene } from "@excalidraw/element";
import DragInput from "./DragInput";
import { getStepSizedValue, isPropertyEditable } from "./utils";

View file

@ -7,7 +7,7 @@ import { deepCopyElement } from "@excalidraw/element";
import type { ElementsMap, ExcalidrawElement } from "@excalidraw/element/types";
import type Scene from "@excalidraw/element";
import type { Scene } from "@excalidraw/element";
import { CaptureUpdateAction } from "../../store";
import { useApp } from "../App";

View file

@ -9,7 +9,7 @@ import type {
ExcalidrawTextElement,
} from "@excalidraw/element/types";
import type Scene from "@excalidraw/element";
import type { Scene } from "@excalidraw/element";
import { fontSizeIcon } from "../icons";

View file

@ -9,7 +9,7 @@ import type { Degrees } from "@excalidraw/math";
import type { ExcalidrawElement } from "@excalidraw/element/types";
import type Scene from "@excalidraw/element";
import type { Scene } from "@excalidraw/element";
import { angleIcon } from "../icons";

View file

@ -19,7 +19,7 @@ import type {
NonDeletedSceneElementsMap,
} from "@excalidraw/element/types";
import type Scene from "@excalidraw/element";
import type { Scene } from "@excalidraw/element";
import DragInput from "./DragInput";
import { getAtomicUnits, getStepSizedValue, isPropertyEditable } from "./utils";

View file

@ -12,7 +12,7 @@ import type {
NonDeletedSceneElementsMap,
} from "@excalidraw/element/types";
import type Scene from "@excalidraw/element";
import type { Scene } from "@excalidraw/element";
import { fontSizeIcon } from "../icons";

View file

@ -7,7 +7,7 @@ import { getCommonBounds } from "@excalidraw/element";
import type { ElementsMap, ExcalidrawElement } from "@excalidraw/element/types";
import type Scene from "@excalidraw/element";
import type { Scene } from "@excalidraw/element";
import StatsDragInput from "./DragInput";
import { getAtomicUnits, getStepSizedValue, isPropertyEditable } from "./utils";

View file

@ -8,7 +8,7 @@ import { isImageElement } from "@excalidraw/element";
import type { ElementsMap, ExcalidrawElement } from "@excalidraw/element/types";
import type Scene from "@excalidraw/element";
import type { Scene } from "@excalidraw/element";
import StatsDragInput from "./DragInput";
import { getStepSizedValue, moveElement } from "./utils";

View file

@ -17,7 +17,7 @@ import type {
NonDeletedExcalidrawElement,
} from "@excalidraw/element/types";
import type Scene from "@excalidraw/element";
import type { Scene } from "@excalidraw/element";
import { updateBindings } from "../../../element/src/binding";

View file

@ -28,7 +28,7 @@ import {
import { isEmbeddableElement } from "@excalidraw/element";
import type Scene from "@excalidraw/element";
import type { Scene } from "@excalidraw/element";
import type {
ElementsMap,

View file

@ -28,7 +28,7 @@ import type {
import type { ValueOf } from "@excalidraw/common/utility-types";
import type Scene from "@excalidraw/element";
import type { Scene } from "@excalidraw/element";
import { CascadiaFontFaces } from "./Cascadia";
import { ComicShannsFontFaces } from "./ComicShanns";

View file

@ -9,7 +9,7 @@ import type {
NonDeletedExcalidrawElement,
} from "@excalidraw/element/types";
import type Scene from "@excalidraw/element";
import type { Scene } from "@excalidraw/element";
import { renderInteractiveSceneThrottled } from "../renderer/interactiveScene";
import { renderStaticSceneThrottled } from "../renderer/staticScene";