リファレンス · 単語の完全な項目:すべての語義と、JMdictが記すことのすべて
EntryReading型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A reading of an entry, with its marks and the written forms it is limited to.
インポート
import type { EntryReading } from "@johnmorrisdotca/jisho/entries";
定義
type EntryReading = {
readonly text: string;
readonly marks: readonly string[];
readonly onlyForms: readonly string[];
readonly noKanji: boolean;
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
text | string | |
marks | readonly string[] | The marks, such as |
onlyForms | readonly string[] | The written forms this reading goes with; none when it goes with all of them. |
noKanji | boolean | Whether it is a reading of no kanji. |
例
import type { EntryReading } from "@johnmorrisdotca/jisho/entries";
const reading: EntryReading = { text: "かみ", marks: [], onlyForms: [], noKanji: false };
console.log(reading.text);かみ出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。