StarNumberName型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The numbers that make a star's picture in StarNumbers, by name: the ones a page may mark as estimated.
インポート
import type { StarNumberName } from "@johnmorrisdotca/wakusei-planets";
定義
type StarNumberName = "temperatureK" | "radiusSun" | "luminosityClass" | "rotationDays" | "oblateness";
例
import type { StarNumberName } from "@johnmorrisdotca/wakusei-planets";
const name: StarNumberName = "radiusSun";
console.log(name);radiusSun出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。