Reference · Rockets, variants, parts and the fit check
FleetColourtype
The name of a role in FLEET_PALETTE.
Import it
import type { FleetColour } from "@johnmorrisdotca/uchusen-rockets";
Definition
type FleetColour = keyof typeof FLEET_PALETTE;
Examples
import { FLEET_PALETTE, type FleetColour } from "@johnmorrisdotca/uchusen-rockets";
const role: FleetColour = "coolant";
console.log(FLEET_PALETTE[role]);#4f8085What it prints (run when this page was built)