リファレンス · 単語の完全な項目:すべての語義と、JMdictが記すことのすべて
EntryGloss型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A gloss, and what kind of gloss it is when JMdict says: lit a literal rendering, expl an explanation, fig a figurative one, tm a trademark.
インポート
import type { EntryGloss } from "@johnmorrisdotca/jisho/entries";
定義
type EntryGloss = {
readonly text: string;
readonly kind: "lit" | "expl" | "fig" | "tm" | null;
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
text | string | |
kind | "lit" | "expl" | "fig" | "tm" | null |
例
import type { EntryGloss } from "@johnmorrisdotca/jisho/entries";
const gloss: EntryGloss = { text: "paper", kind: null };
console.log(gloss.text);paper出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。