SkyBodyNames型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The names of a body in the two languages of the chart.
インポート
import type { SkyBodyNames } from "@johnmorrisdotca/hoshi-stars/chart";
定義
interface SkyBodyNames {
en: string;
ja: string;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
en | string | |
ja | string |
例
import type { SkyBodyNames } from "@johnmorrisdotca/hoshi-stars/chart";
const names: SkyBodyNames = { en: "Jupiter", ja: "木星" };
console.log(names.ja);
// 木星木星出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。