Reference · Rockets, variants, parts and the fit check
SourceIdtype
The id of a source in SOURCES.
Import it
import type { SourceId } from "@johnmorrisdotca/uchusen-rockets";
Definition
type SourceId = keyof typeof SOURCES;
Examples
import type { SourceId } from "@johnmorrisdotca/uchusen-rockets";
const id: SourceId = "wikipedia-starship";
console.log(id);wikipedia-starshipWhat it prints (run when this page was built)