Reference · Rules, generation and deductions
Statustype
Current game state, including whether a mine has been hit.
Import it
import type { Status } from "@johnmorrisdotca/jirai";
Definition
type Status = "ready" | "playing" | "won" | "lost";
Examples
import type { Status } from "@johnmorrisdotca/jirai";
const value: Status = "ready";
console.log(value);readyWhat it prints (run when this page was built)