fix: lint errors.

This commit is contained in:
Shibo Lyu 2024-05-04 23:08:41 +08:00
parent 24c6b0769c
commit 9658d88162
6 changed files with 6 additions and 6 deletions

View file

@ -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";

View file

@ -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;