Skip to content

Commit

Permalink
refactor(text-canvas): update type-only imports
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Dec 7, 2020
1 parent 3b2eb85 commit 2ffdedf
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/text-canvas/src/circle.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion packages/text-canvas/src/hvline.ts
Original file line number Diff line number Diff line change
@@ -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";

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/text-canvas/src/line.ts
Original file line number Diff line number Diff line change
@@ -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";

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/text-canvas/src/rect.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion packages/text-canvas/src/string.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 2ffdedf

Please sign in to comment.