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

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