BoardPresettype
A named native board geometry; custom dimensions remain a separate option.
Import it
import type { BoardPreset } from "@johnmorrisdotca/houseki/stone-collapse";
Definition
type BoardPreset = 'compact' | 'standard' | 'wide' | 'tall' | 'extraWide' | 'deep' | 'large';
Examples
import type { BoardPreset } from "@johnmorrisdotca/houseki/stone-collapse";
const value: BoardPreset = "compact";
console.log(value == null ? value : typeof value === "object" ? Object.keys(value).slice(0,6) : value);compactWhat it prints (run when this page was built)