リファレンス · 読み、表記、英語の意味、漢字、ローマ字から単語を引く
WordsManifest型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Where the pieces of the dictionary are.
インポート
import type { WordsManifest } from "@johnmorrisdotca/jisho/words";
定義
type WordsManifest = {
readonly source: string;
readonly release: string;
readonly rowCount: number;
readonly readings: PieceSet;
readonly forms: PieceSet;
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
source | string | |
release | string | |
rowCount | number | How many rows the pieces hold. |
readings | PieceSet | The rows, cut by reading folded to hiragana. |
forms | PieceSet | An index from each written form to its readings. |
例
import type { WordsManifest } from "@johnmorrisdotca/jisho/words";
const empty: WordsManifest["readings"] = { starts: [""], load: [async () => ({ rows: [] })] };
console.log(empty.starts);[ '' ]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。