Reference · Look words up by reading, written form, English meaning, kanji or romaji
WordsManifesttype
Where the pieces of the dictionary are.
Import it
import type { WordsManifest } from "@johnmorrisdotca/jisho/words";
Definition
type WordsManifest = {
readonly source: string;
readonly release: string;
readonly rowCount: number;
readonly readings: PieceSet;
readonly forms: PieceSet;
};
Members
| Name | Type | Description |
|---|---|---|
source | string | |
release | string | |
rowCount | number | How many rows the pieces hold. |
readings | PieceSet | The rows, cut by reading folded to hiragana. |
forms | PieceSet | An index from each written form to its readings. |
Examples
import type { WordsManifest } from "@johnmorrisdotca/jisho/words";
const empty: WordsManifest["readings"] = { starts: [""], load: [async () => ({ rows: [] })] };
console.log(empty.starts);[ '' ]What it prints (run when this page was built)