リファレンス · ジャーニーモード:ホーマン遷移・打ち上げ窓・フリップ&バーンの旅
Stage型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What of a rocket is still there at one point of a trip, drawn with the rocket's own parts: the whole rocket, or the slots that are left, of the rocket and variant named.
インポート
import type { Stage } from "@johnmorrisdotca/uchusen-rockets/journey";
定義
interface Stage {
rocket: string;
variant: string;
slots: readonly string[] | null;
name: string;
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
rocket | string | |
variant | string | |
slots | readonly string[] | null | The slots that are left, closed up into one stack; null for the whole rocket. |
name | string |
例
import type { Stage } from "@johnmorrisdotca/uchusen-rockets/journey";
const left: Stage = { rocket: "saturn-v", variant: "saturn-v", slots: ["service-module", "capsule"], name: "Apollo command and service module" };
console.log(left.name);Apollo command and service module出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。