Reference · Marking, scores and game rules
ShiritoriWordtype
One word of the shiritori list.
Import it
import type { ShiritoriWord } from "@johnmorrisdotca/kotoba";
Definition
type ShiritoriWord = {
readonly reading: string;
readonly word: string;
readonly meaning: string;
};
Members
| Name | Type | Description |
|---|---|---|
reading | string | How it is read: what a chain is judged on. |
word | string | How it is written. |
meaning | string | Its first plain English gloss. |
Examples
import type { ShiritoriWord } from "@johnmorrisdotca/kotoba";
const one: ShiritoriWord = { reading: "さくら", word: "桜", meaning: "cherry tree" };
console.log(one.word);桜What it prints (run when this page was built)