mirror of
https://github.com/TextPlace/CoreTextPlace.git
synced 2025-12-18 05:02:36 +00:00
fix: 0.3.1
This commit is contained in:
parent
91db478fe9
commit
587e0558e9
4 changed files with 12 additions and 7 deletions
|
|
@ -47,6 +47,11 @@ export function checkFullBoard(board: FullBoard) {
|
|||
console.error("width: ", widthLine);
|
||||
};
|
||||
|
||||
if (typeof cCh !== "string") {
|
||||
printSituation();
|
||||
throw new Error("cCh is not string");
|
||||
}
|
||||
|
||||
if (!isValidColor(cCo) || !isValidColor(cBg)) {
|
||||
printSituation();
|
||||
throw new Error("cCo or cBg is not valid");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue