From 9658d88162ec813f7572066bdc1c4be07c686288 Mon Sep 17 00:00:00 2001
From: Shibo Lyu <github@of.sb>
Date: Sat, 4 May 2024 23:08:41 +0800
Subject: [PATCH] fix: lint errors.

---
 logic/board.ts          | 2 +-
 logic/section.ts        | 2 +-
 tests/board.test.ts     | 2 +-
 tests/checkFullBoard.ts | 2 +-
 types/board.ts          | 2 +-
 types/change.ts         | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/logic/board.ts b/logic/board.ts
index 01da3dc..3503de7 100644
--- a/logic/board.ts
+++ b/logic/board.ts
@@ -6,7 +6,7 @@ import type {
   FullBoard,
 } from "../types/board.ts";
 import { applyChange, createSection } from "./section.ts";
-import { BoardChange } from "../types/change.ts";
+import type { BoardChange } from "../types/change.ts";
 
 export function createBoard(config: BoardConfig): BoardData {
   const sections: SectionData[][] = Array(config.ySections)
diff --git a/logic/section.ts b/logic/section.ts
index b9b37bb..d935dc3 100644
--- a/logic/section.ts
+++ b/logic/section.ts
@@ -1,6 +1,6 @@
 import { getCharacterWidth } from "../mod.ts";
 import type { BoardConfig } from "../types/board.ts";
-import { BoardChange } from "../types/change.ts";
+import type { BoardChange } from "../types/change.ts";
 import type { SectionData, SectionPosition } from "../types/section.ts";
 
 export function createSection(
diff --git a/tests/board.test.ts b/tests/board.test.ts
index c3252a0..29cd7cd 100644
--- a/tests/board.test.ts
+++ b/tests/board.test.ts
@@ -4,7 +4,7 @@ import {
 } from "https://deno.land/std@0.224.0/assert/mod.ts";
 
 import { createBoard, renderFullBoard } from "../logic/board.ts";
-import { BoardData } from "../types/board.ts";
+import type { BoardData } from "../types/board.ts";
 import { checkFullBoard } from "./checkFullBoard.ts";
 import { locateSection } from "../logic/board.ts";
 import { applyChangeOnBoard } from "../logic/board.ts";
diff --git a/tests/checkFullBoard.ts b/tests/checkFullBoard.ts
index 3a8d8af..78d916c 100644
--- a/tests/checkFullBoard.ts
+++ b/tests/checkFullBoard.ts
@@ -1,5 +1,5 @@
 import { getCharacterWidth } from "../logic/character.ts";
-import { FullBoard } from "../types/board.ts";
+import type { FullBoard } from "../types/board.ts";
 
 function isCorrectWidth(cWdRaw: string, cCh: string): boolean {
   return getCharacterWidth(cCh).toString() === cWdRaw;
diff --git a/types/board.ts b/types/board.ts
index 907c85e..c4636be 100644
--- a/types/board.ts
+++ b/types/board.ts
@@ -1,4 +1,4 @@
-import { SectionData } from "./section.ts";
+import type { SectionData } from "./section.ts";
 
 /**
  * A compact form to represent the whole game board.
diff --git a/types/change.ts b/types/change.ts
index 9633453..ac1e05e 100644
--- a/types/change.ts
+++ b/types/change.ts
@@ -1,4 +1,4 @@
-import { CharacterPosition } from "./board.ts";
+import type { CharacterPosition } from "./board.ts";
 
 /**
  * A change to the board.