ExampleCredit型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Who a Tatoeba sentence is by: its number on tatoeba.org, and the authors of the Japanese sentence and of its English translation, where known.
インポート
import type { ExampleCredit } from "@johnmorrisdotca/jisho/examples";
定義
type ExampleCredit = {
readonly id: number;
readonly japanese: string | null;
readonly english: string | null;
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
id | number | The number of the Japanese sentence on tatoeba.org ( |
japanese | string | null | The author of the Japanese sentence, or null when the export does not say. |
english | string | null | The author of the English translation, or null when the export does not say. |
例
import type { ExampleCredit } from "@johnmorrisdotca/jisho/examples";
const credit: ExampleCredit = { id: 162365, japanese: "alice", english: null };
console.log(credit.id);162365出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。