PassReason型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Why a pass is or is not visible: visible; daylight (the watcher's sky is too bright for the whole pass); shadow (the sky is dark enough but the satellite is in the Earth's shadow for all of it);
faint (it is lit and the sky is dark, but it is fainter than the limiting magnitude).
インポート
import type { PassReason } from "@johnmorrisdotca/chikyu-earth/passes";
定義
type PassReason = "visible" | "daylight" | "shadow" | "faint";
例
import type { PassReason } from "@johnmorrisdotca/chikyu-earth/passes";
const reason: PassReason = "shadow";
console.log(reason);shadow出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。