narrow down imports

This commit is contained in:
Ryan Di 2025-04-01 22:56:56 +11:00
parent 4ef8285107
commit 7f54214ac9

View file

@ -1,4 +1,4 @@
import type { GlobalPoint, LineSegment } from "@excalidraw/math"; import type { GlobalPoint, LineSegment } from "@excalidraw/math/types";
import type { ExcalidrawElement } from "@excalidraw/element/types"; import type { ExcalidrawElement } from "@excalidraw/element/types";
export type ElementsSegmentsMap = Map<string, LineSegment<GlobalPoint>[]>; export type ElementsSegmentsMap = Map<string, LineSegment<GlobalPoint>[]>;