Inset型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A system inset: an id and name, what it is, and its numbered sub-parts.
インポート
import type { Inset } from "@johnmorrisdotca/uchusen-rockets";
定義
interface Inset {
id: string;
name: string;
note: string;
parts: readonly InsetPart[];
}
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
id | string | |
name | string | |
note | string | |
parts | readonly InsetPart[] |
例
import { INSETS, type Inset } from "@johnmorrisdotca/uchusen-rockets";
const inset: Inset = INSETS["life-support"];
console.log(inset.name, inset.parts.length);Life support 6出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。