RideTarget型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What a camera can ride along with: the name of one of the bodies, or a satellite of a group ({ group, index }).
インポート
import type { RideTarget } from "@johnmorrisdotca/chikyu-earth/space/element";
定義
type RideTarget = BodyName | SatelliteRef;
例
import type { RideTarget } from "@johnmorrisdotca/chikyu-earth/space/element";
const targets: RideTarget[] = ["Moon", { group: "stations", index: 0 }];
console.log(targets.length);この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。