Reference · The whole entry of a word: every sense, and everything JMdict says of it
EntryGlosstype
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 it
import type { EntryGloss } from "@johnmorrisdotca/jisho/entries";
Definition
type EntryGloss = {
readonly text: string;
readonly kind: "lit" | "expl" | "fig" | "tm" | null;
};
Members
| Name | Type | Description |
|---|---|---|
text | string | |
kind | "lit" | "expl" | "fig" | "tm" | null |
Examples
import type { EntryGloss } from "@johnmorrisdotca/jisho/entries";
const gloss: EntryGloss = { text: "paper", kind: null };
console.log(gloss.text);paperWhat it prints (run when this page was built)