diff --git a/packages/excalidraw/tests/helpers/ui.ts b/packages/excalidraw/tests/helpers/ui.ts index 1c133e36b2..8f27dbd7dc 100644 --- a/packages/excalidraw/tests/helpers/ui.ts +++ b/packages/excalidraw/tests/helpers/ui.ts @@ -36,6 +36,7 @@ import { createTestHook } from "../../components/App"; import type { GlobalPoint, LocalPoint, Radians } from "../../../math"; import { pointFrom, pointRotateRads } from "../../../math"; import { cropElement } from "../../element/cropElement"; +import type { ToolType } from "../../types"; // so that window.h is available when App.tsx is not imported as well. createTestHook();