Constellation型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
One of the 88 constellations.
インポート
import type { Constellation } from "@johnmorrisdotca/hoshi-stars/constellations";
定義
interface Constellation {
abbreviation: string;
name: string;
genitive: string;
english: string;
japanese: string;
reading: string;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
abbreviation | string | The IAU three-letter abbreviation, with its real capitals ( |
name | string | The Latin name ( |
genitive | string | The Latin genitive, the form used in star names ( |
english | string | The English name without an article ( |
japanese | string | The Japanese name in the kana form the National Astronomical Observatory of Japan uses, ending in 座 ( |
reading | string | The Japanese name written wholly in hiragana, 座 read as ざ ( |
例
import { constellation, type Constellation } from "@johnmorrisdotca/hoshi-stars/constellations";
const orion: Constellation = constellation("Ori")!;
console.log(orion.name, orion.english, orion.japanese);Orion Hunter オリオン座出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。