Reference · The whole entry of a word: every sense, and everything JMdict says of it
Entrytype
The whole entry of a word, as loadEntry gives it.
Import it
import type { Entry } from "@johnmorrisdotca/jisho/entries";
Definition
type Entry = {
readonly id: number;
readonly forms: readonly EntryForm[];
readonly readings: readonly EntryReading[];
readonly senses: readonly EntrySense[];
};
Members
| Name | Type | Description |
|---|---|---|
id | number | The number JMdict gives it ( |
forms | readonly EntryForm[] | Its written forms, with their marks. |
readings | readonly EntryReading[] | Its readings, with theirs. |
senses | readonly EntrySense[] | Every sense. |
Examples
import type { Entry } from "@johnmorrisdotca/jisho/entries";
const entry: Entry = { id: 1, forms: [], readings: [{ text: "あ", marks: [], onlyForms: [], noKanji: false }], senses: [] };
console.log(entry.id);1What it prints (run when this page was built)