SkyBodyNamestype
The names of a body in the two languages of the chart.
Import it
import type { SkyBodyNames } from "@johnmorrisdotca/hoshi-stars/chart";
Definition
interface SkyBodyNames {
en: string;
ja: string;
}
Members
| Name | Type | Description |
|---|---|---|
en | string | |
ja | string |
Examples
import type { SkyBodyNames } from "@johnmorrisdotca/hoshi-stars/chart";
const names: SkyBodyNames = { en: "Jupiter", ja: "木星" };
console.log(names.ja);
// 木星木星What it prints (run when this page was built)