fix: Circular dep

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
This commit is contained in:
Mark Tolmacs
2025-09-07 18:27:12 +02:00
parent 433774e892
commit 7703cc2597
2 changed files with 6 additions and 16 deletions

View File

@@ -1,11 +1,6 @@
import { average } from "@excalidraw/math";
import { isImageElement } from "@excalidraw/element";
import type {
ExcalidrawBindableElement,
FontFamilyValues,
FontString,
} from "@excalidraw/element/types";
import type { FontFamilyValues, FontString } from "@excalidraw/element/types";
import type {
ActiveTool,
@@ -567,9 +562,6 @@ export const isTransparent = (color: string) => {
);
};
export const isAlwaysInsideBinding = (element: ExcalidrawBindableElement) =>
isImageElement(element);
export type ResolvablePromise<T> = Promise<T> & {
resolve: [T] extends [undefined]
? (value?: MaybePromise<Awaited<T>>) => void