StarGradetype
The grade of a star: A a distance known to under 5% and a modern position, B a distance known to 20% or better (or one known to under 5% with a coarse position), C anything else: a position and a rough or missing distance.
Import it
import type { StarGrade } from "@johnmorrisdotca/hoshi-stars/accuracy";
Definition
type StarGrade = "A" | "B" | "C";
Examples
import { type StarGrade } from "@johnmorrisdotca/hoshi-stars/accuracy";
const best: StarGrade = "A";
console.log(best);AWhat it prints (run when this page was built)