SectionRole型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
What a section is, so a sheet can group and colour its labels.
インポート
import type { SectionRole } from "@johnmorrisdotca/uchusen-rockets";
定義
type SectionRole = "engine" | "tank" | "line" | "power" | "crew" | "common" | "cargo" | "lab" | "nav" | "comms" | "medical" | "farm" | "hatch" | "structure" | "thermal" | "dock" | "shield";
例
import type { SectionRole } from "@johnmorrisdotca/uchusen-rockets";
const role: SectionRole = "tank";
console.log(role);tank出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。