Reference · Rockets, variants, parts and the fit check
VariantStatustype
What kind of thing a variant is: flown, announced (not built), an artist's model, a test vehicle or a support item.
Import it
import type { VariantStatus } from "@johnmorrisdotca/uchusen-rockets";
Definition
type VariantStatus = "flown" | "announced" | "artist-model" | "test-vehicle" | "support" | "fictional";
Examples
import { variantOf, type VariantStatus } from "@johnmorrisdotca/uchusen-rockets";
const status: VariantStatus | undefined = variantOf("starship", "v4")?.status;
console.log(status);announcedWhat it prints (run when this page was built)