Reference · Marking, scores and game rules
DailyOptionstype
How a day's word is chosen.
Import it
import type { DailyOptions } from "@johnmorrisdotca/kotoba";
Definition
type DailyOptions = {
salt?: string;
zone?: string;
};
Members
| Name | Type | Description |
|---|---|---|
salt (optional) | string | undefined | Names the list, so that two lists of one length are dealt in different orders. Unless said, empty. |
zone (optional) | string | undefined | An IANA time zone, for a moment given as a |
Examples
import type { DailyOptions } from "@johnmorrisdotca/kotoba";
const value: DailyOptions = {salt:"sample",zone:"UTC"};
console.log(value);{ salt: 'sample', zone: 'UTC' }What it prints (run when this page was built)