OBSTACLE_LAYOUTSconstant
The native empty and star-point obstacle layouts.
Import it
import { OBSTACLE_LAYOUTS } from "@johnmorrisdotca/narabe";
Definition
const OBSTACLE_LAYOUTS: { readonly none: "none"; readonly hoshi: "hoshi"; } = {
none: "none",
hoshi: "hoshi",
} as const satisfies Record<ObstacleLayout, ObstacleLayout>
Members
| Name | Type | Description |
|---|---|---|
none | "none" | |
hoshi | "hoshi" |
Examples
import { OBSTACLE_LAYOUTS } from "@johnmorrisdotca/narabe";
console.log(OBSTACLE_LAYOUTS);{ none: 'none', hoshi: 'hoshi' }What it prints (run when this page was built)