Reference · SVG boards and notation
SugorokuBoardNametype
A named board, a set of colours for the board and its points.
Import it
import type { SugorokuBoardName } from "@johnmorrisdotca/sugoroku/draw";
Definition
type SugorokuBoardName = "green" | "blue" | "red" | "black" | "wood";
Examples
import type { SugorokuBoardName } from "@johnmorrisdotca/sugoroku/draw";
const value: SugorokuBoardName = "wood";
console.log(value);woodWhat it prints (run when this page was built)