Certaintytype
How well a distance is known: good (under 5%), fair (5% to 20%) or rough (over 20%, or no error stated). A rough distance is never drawn at its best value: it is in the uncertain band, with its range.
Import it
import type { Certainty } from "@johnmorrisdotca/hoshi-stars/distance";
Definition
type Certainty = "good" | "fair" | "rough";
Examples
import type { Certainty } from "@johnmorrisdotca/hoshi-stars/distance";
const how: Certainty = "rough";
console.log(how);roughWhat it prints (run when this page was built)