diff --git a/packages/text-canvas/src/circle.ts b/packages/text-canvas/src/circle.ts index 14dedb11d2..e3aa0d5e64 100644 --- a/packages/text-canvas/src/circle.ts +++ b/packages/text-canvas/src/circle.ts @@ -1,6 +1,6 @@ import type { NumOrString } from "@thi.ng/api"; import { peek } from "@thi.ng/arrays"; -import { Canvas } from "./canvas"; +import type { Canvas } from "./canvas"; import { hline } from "./hvline"; import { charCode, intersectRectCircle } from "./utils"; diff --git a/packages/text-canvas/src/hvline.ts b/packages/text-canvas/src/hvline.ts index 240b2f0365..23e3f1767f 100644 --- a/packages/text-canvas/src/hvline.ts +++ b/packages/text-canvas/src/hvline.ts @@ -1,6 +1,6 @@ import type { NumOrString } from "@thi.ng/api"; import { peek } from "@thi.ng/arrays"; -import { Canvas } from "./canvas"; +import type { Canvas } from "./canvas"; import { charCode } from "./utils"; /** diff --git a/packages/text-canvas/src/line.ts b/packages/text-canvas/src/line.ts index c1f98c2a40..91b0766717 100644 --- a/packages/text-canvas/src/line.ts +++ b/packages/text-canvas/src/line.ts @@ -1,7 +1,7 @@ import type { NumOrString } from "@thi.ng/api"; import { peek } from "@thi.ng/arrays"; import { liangBarsky2Raw } from "@thi.ng/geom-clip-line"; -import { Canvas } from "./canvas"; +import type { Canvas } from "./canvas"; import { charCode } from "./utils"; /** diff --git a/packages/text-canvas/src/rect.ts b/packages/text-canvas/src/rect.ts index 50efad814c..e3b4736e8f 100644 --- a/packages/text-canvas/src/rect.ts +++ b/packages/text-canvas/src/rect.ts @@ -1,6 +1,6 @@ import type { NumOrString } from "@thi.ng/api"; import { peek } from "@thi.ng/arrays"; -import { Canvas } from "./canvas"; +import type { Canvas } from "./canvas"; import { hline, vline } from "./hvline"; import { charCode } from "./utils"; diff --git a/packages/text-canvas/src/string.ts b/packages/text-canvas/src/string.ts index ea47a51e1b..33f49b24d4 100644 --- a/packages/text-canvas/src/string.ts +++ b/packages/text-canvas/src/string.ts @@ -1,5 +1,5 @@ import type { StringFormat } from "./api"; -import { Canvas } from "./canvas"; +import type { Canvas } from "./canvas"; /** * Returns string representation of canvas, optionally using given