Reference · The <chikyu-space> element
RideTargettype
What a camera can ride along with: the name of one of the bodies, or a satellite of a group ({ group, index }).
Import it
import type { RideTarget } from "@johnmorrisdotca/chikyu-earth/space/element";
Definition
type RideTarget = BodyName | SatelliteRef;
Examples
import type { RideTarget } from "@johnmorrisdotca/chikyu-earth/space/element";
const targets: RideTarget[] = ["Moon", { group: "stations", index: 0 }];
console.log(targets.length);