リファレンス · 単語の完全な項目:すべての語義と、JMdictが記すことのすべて
Entry型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The whole entry of a word, as loadEntry gives it.
インポート
import type { Entry } from "@johnmorrisdotca/jisho/entries";
定義
type Entry = {
readonly id: number;
readonly forms: readonly EntryForm[];
readonly readings: readonly EntryReading[];
readonly senses: readonly EntrySense[];
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
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. |
例
import type { Entry } from "@johnmorrisdotca/jisho/entries";
const entry: Entry = { id: 1, forms: [], readings: [{ text: "あ", marks: [], onlyForms: [], noKanji: false }], senses: [] };
console.log(entry.id);1出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。