Wordstype
A text in English and in Japanese.
Import it
import type { Words } from "@johnmorrisdotca/hoshi-stars/constellation-facts";
Definition
interface Words {
en: string;
ja: string;
}
Members
| Name | Type | Description |
|---|---|---|
en | string | |
ja | string |
Examples
import { constellationFacts, type Words } from "@johnmorrisdotca/hoshi-stars/constellation-facts";
const meaning: Words = constellationFacts("Ori").meaning;
console.log(meaning.en, meaning.ja);Hunter 狩人What it prints (run when this page was built)