NearStarSourcetype
Where a value comes from: "BSC" the Yale Bright Star Catalogue, "GCTP" the Yale General Catalogue of Trigonometric Stellar Parallaxes, "2MASS" the Two Micron All Sky Survey, or "typed" a published value
typed into the package (the companions that neither Yale table holds).
Import it
import type { NearStarSource } from "@johnmorrisdotca/hoshi-stars/near-stars";
Definition
type NearStarSource = "BSC" | "GCTP" | "2MASS" | "typed";
Examples
import { nearStarByName, type NearStarSource } from "@johnmorrisdotca/hoshi-stars/near-stars";
const source: NearStarSource = nearStarByName("Proxima Centauri")!.sources.position;
console.log(source);BSCWhat it prints (run when this page was built)