JlptTable型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The shape of JLPT, from @johnmorrisdotca/jisho/jlpt.
インポート
import type { JlptTable } from "@johnmorrisdotca/jisho";
定義
type JlptTable = {
readonly source: string;
readonly levels: Readonly<Partial<Record<JlptLevel, string>>>;
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
source | string | Whose lists they are. |
levels | Readonly<Partial<Record<JlptLevel, string>>> | Each level's kanji, written together, in the order of the list. |
例
import type { JlptTable } from "@johnmorrisdotca/jisho";
const table: JlptTable = { source: "a list", levels: { N5: "日一" } };
console.log(table.source);a list出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。