Reference · The whole entry of a word: every sense, and everything JMdict says of it
EntryFormtype
The marks of a written form of an entry, such as ateji or rK (a rarely used form).
Import it
import type { EntryForm } from "@johnmorrisdotca/jisho/entries";
Definition
type EntryForm = {
readonly text: string;
readonly marks: readonly string[];
};
Members
| Name | Type | Description |
|---|---|---|
text | string | |
marks | readonly string[] |
Examples
import type { EntryForm } from "@johnmorrisdotca/jisho/entries";
const form: EntryForm = { text: "紙", marks: [] };
console.log(form.text);紙What it prints (run when this page was built)