CreateOptionstype
The options a free game or a Daily is made from.
Import it
import type { CreateOptions } from "@johnmorrisdotca/houseki/tsumiki";
Definition
interface CreateOptions {
readonly mode?: "relaxed" | "daily";
readonly seed?: string;
readonly dailyDate?: string;
}
Members
| Name | Type | Description |
|---|---|---|
mode (optional) | "relaxed" | "daily" | undefined | |
seed (optional) | string | undefined | |
dailyDate (optional) | string | undefined |
Examples
import type { CreateOptions } from "@johnmorrisdotca/houseki/tsumiki";
const value: CreateOptions = { seed: "demo" };
console.log(value.seed);demoWhat it prints (run when this page was built)